On Sat, Jan 19, 2002, Nadav Har'El wrote about "Re: Creating a spawn system call":
> 1. have you ever heard of vfork()? This was a 3.0BSD invention, that was
> similar to fork except that it wouldn't copy any memory, and the only
> thing you're allowed to do after a vfork() is an exec() (or _exit()).
> vfork was since then somewhat deprecated: 4.4BSD made it the same thing
> as fork(), and Solaris marks it as "This function will be eliminated in a
By the way, you might want to take a look at
http://www.netbsd.org/Documentation/kernel/vfork.html
Which explains why netbsd reinstated the vfork() system call.
Note, however, that their conclusion is that "It shaves several seconds off a
build of libc" - hardly impressive... I can't see how your spawn
implementation will gain much more than that.
--
Nadav Har'El | Monday, Jan 21 2002, 9 Shevat 5762
[EMAIL PROTECTED] |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |If you choke a Smurf, what color does it
http://nadav.harel.org.il |turn?
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]