Re: Sort-of Announce: Gnet, a network library
- From: David Helder <dhelder umich edu>
- To: Mike Palczewski <mpalczew u washington edu>
- cc: gnome-list gnome org
- Subject: Re: Sort-of Announce: Gnet, a network library
- Date: Thu, 6 Jan 2000 13:50:26 -0500 (EST)
On Thu, 6 Jan 2000, Mike Palczewski wrote:
> how about vfork. This won't copy the entire process. On linux vfork
> and fork are one and the same but I'm sure on other platforms they are
> not. This way you aren't copying the entire process.
According to the Linux man page on vfork:
vfork() differs from fork in that the parent is suspended
until the child makes a call to execve(2) or _exit(2).
The child shares all memory with its parent, including the
stack, until execve() is issued by the child. The child
must not return from the current function or call exit(),
but may call _exit().
I don't want the parent suspended, so this wouldn't work.
David
--
__ _ __
___/ /__ __ __(_)__/ / David Helder - University of Michigan
/ _ / _ `/ |/ / / _ / dhelder@umich.edu
|_,_/|_,_/|___/_/|_,_/ http://www.eecs.umich.edu/~dhelder
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]