vfork()

Sean Eric Fagan sef at kithrup.COM
Thu Mar 28 07:18:04 AEST 1991


In article <6834 at auspex.auspex.com> guy at auspex.auspex.com (Guy Harris) writes:
>That's precisely what Doug was referring to; either the application
>*doesn't* depend on the fact that, in most if not all current
>implementations, "vfork()" causes the parent and child to temporarily
>share an address space, in which case the original poster can just
>replace the "vfork()" calls with "fork()"

Of course, it (the application) may also depend on the fact that the child
is guaranteed to execute *before* the parent (which is an extremely useful
thing, I will admit), in which case you cannot replace it with a fork().

-- 
Sean Eric Fagan  | "I made the universe, but please don't blame me for it;
sef at kithrup.COM  |  I had a bellyache at the time."
-----------------+           -- The Turtle (Stephen King, _It_)
Any opinions expressed are my own, and generally unpopular with others.



More information about the Comp.unix.questions mailing list