vfork() (was Re: RS6000 questions/comments)
Jeff Peek
ransom at perelandra.austin.ibm.com
Sat Jun 29 02:34:54 AEST 1991
In article <1991Jun27.221208.14845 at kithrup.COM> sef at kithrup.COM (Sean Eric Fagan) writes:
>In article <141 at ssi.UUCP> cjr at ssi.UUCP (Cris J. Rhea) writes:
>>* The rs6k like the u370 (that's the 3090) has no vfork().
>
>vfork() is a hack, although, I will admit, it does have its uses. The only
>legitimate use of vfork() is that the child will execute before the parent.
>However, POSIX does not (yet?) have a vfork() like function; IBM may be
>waiting for POSIX to decide what to do before they add one. (POSIX did
>have, last time I checked a draft, a proposal for a 'qfork()' which was
>almost-but-not-quite vfork(). So be it.)
>
There is a vfork() which is just a mapping to fork(), located in libbsd.a. The fork()
on the RISC System/6000 does have the parent do a swtch() allowing the child first
chance to run.
--
Jeff Peek
AIX Operating System Architecture -- IBM Personal Systems Programming
ransom at perelandra.austin.ibm.com VNET PEEK at AUSVMQ T/L 793-3935
Austin, TX
More information about the Comp.unix.aix
mailing list