Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!lll-winken!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions Subject: Re: Using vfork() -vs fork() Message-ID: <1854@auspex.auspex.com> Date: 28 Jun 89 18:21:21 GMT References: <1989Jun19.013230.16107@marob.masa.com> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 12 >From what I can glean from the manual, the advantages of vfork() over >fork() are (1) virtual memory efficiency and (2) shared access to parent >memory, data structures, etc. until an execv(). The Berkeley VFORK(2) manual page quite specifically states that 2) is NOT to be depended on as a "feature" of "vfork()": BUGS This system call will be eliminated when proper system sharing mechanisms are implemented. Users should not depend on the memory sharing semantics of "vfork" as it will, in that case, be made synonymous to "fork".