On Tue, 11 Jan 2000, Michael Bacarella wrote: > I'm sorry I missed the discussion on rfork()... but I say this only > because I want to understand. > > What were you thinking? rfork()? Why is it a system call? > > Almost all of the flags it accepts seem like functionality that can easily > be implemented in userspace around fork() (and maybe vfork()). nope. This whole issue is about (let me check :-) ) 4.5 years old. I did the first rfork for freebsd ca. 9/1994, and I can tell you that you can't easily get what it does with userland wrappers. Well, actually, in the general case it's impossible. Just think about that fact that with shared file descriptors, a child can open a socket and the parent can use it, right down to using the same FD #. (And yes, I use this). I don't want to try to emulate that behaviour in userland. Fork and vfork, however, are a subset of rfork. ron To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
- Re: rfork() [was: Concept check] Alexander Litvin
- Re: rfork() [was: Concept check] Matthew Dillon
- Re: rfork() [was: Concept ch... Jason Evans
- Re: rfork() [was: Concept ch... Matthew Dillon
- Re: rfork() [was: Concept ch... Wes Peters
- Re: rfork() [was: Concept ch... Wes Peters
- Re: rfork() [was: Concept ch... Sheldon Hearn
- Re: rfork() [was: Concept ch... Alexander Litvin
- Re: rfork() [was: Concept ch... Ronald G. Minnich
- Re: rfork() [was: Concept ch... Scott Hess
- Re: rfork() [was: Concept check] Ronald G. Minnich
- Re: rfork() [was: Concept check] Michael Bacarella
- Re: Concept check: iothreads addition to pthreads... Richard Seaman, Jr.
- Re: Concept check: iothreads addition to pthreads... Scott Hess
- Re: Concept check: iothreads addition to pthr... Jason Evans
- Re: Concept check: iothreads addition to pthreads for ... jasone
- Re: Concept check: iothreads addition to pthreads... Scott Hess
- Re: Concept check: iothreads addition to pthr... Matthew Dillon
- Re: Concept check: iothreads addition to pthreads... Chris Sedore
- Re: Concept check: iothreads addition to pthr... Chris Sedore
- Re: Concept check: iothreads addition to pthreads for ... John Polstra