Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Mar 1999 00:04:37 -0500 (EST)
From:      "John S. Dyson" <toor@dyson.iquest.net>
To:        bright@rush.net (Alfred Perlstein)
Cc:        dyson@iquest.net, samit@usa.ltindia.com, commiters@freebsd.org, freebsd-current@freebsd.org
Subject:   Re: rfork()
Message-ID:  <199903210504.AAA03667@dyson.iquest.net>
In-Reply-To: <Pine.BSF.3.96.990320235815.4169C-100000@cygnus.rush.net> from Alfred Perlstein at "Mar 21, 99 00:04:20 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> On Sat, 20 Mar 1999, John S. Dyson wrote:
> 
> > Michael E. Mercer said:
> > > Hello,
> > > 
> > > This was posted to freebsd-questions with no reply.
> > > I tried this and the child process created a core file.
> > > I also tried the other options and they seem to work.
> > > Just RFPROC and RFMEM DON'T!
> > > 
> > rfork(RFMEM) doesn't easily work from C.  You need to
> > create an assembly stub.
> > 
> > -- 
> > John                  | Never try to teach a pig to sing,
> > dyson@iquest.net      | it makes one look stupid
> > jdyson@nc.com         | and it irritates the pig.
> > 
> 
> I've seen about 6 people ask about this because the manual lies about
> what is done.  I asked a while back about it, and John was kind enough
> to dig up some code that used rfork to properly split the stack should
> I try to dig it up?
> 
I suggest trying to find the example.  I might have it sitting around
here also.

John


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903210504.AAA03667>