This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: How about a _beginthread implementation of fork?
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'vischne at ibm dot net'" <vischne at ibm dot net>
- Subject: RE: How about a _beginthread implementation of fork?
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Wed, 12 Nov 1997 18:17:19 +0300
vischne@ibm.net wrote:
> This is probably a naive approach, but is the following code an accurate
> representation of how to implement fork() using the Windows 95 RTL C
> library? If so, how much effort would be needed to redo cygwin.dll so as
> to make fork() _not_ do anything to the cygwin environment?
Two threads will use _one common_ data segment. Forked processes should have separated data areas.
--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia
Looking for a job.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".