This is the mail archive of the
mailing list for the Cygwin project.
RE: fork + dlls
- To: "gnu-win32 at cygnus dot com" <gnu-win32 at cygnus dot com>, "'Tim Newsham'" <newsham at lava dot net>
- Subject: RE: fork + dlls
- From: Sergey Okhapkin <sos at prospect dot com dot ru>
- Date: Fri, 21 Aug 1998 08:53:21 +0400
Tim Newsham wrote:
> When you manually load a dll, and then perform a fork, the dll
> is not accessible from the child process. When you think about what
> is going on here, it makes sense. My question though is, is this the
> way fork should behave? Or should (could) the fork code reload the
> dll in the child process after a fork? It seems that this would
> more closely follow the expected fork semantics.
The dll will be reloaded on fork, if dll's startup code performs neccessary
initialization. See http://www.cygnus.com/misc/gnu-win32/dl-docs.html for
Sergey Okhapkin, http://www.lexa.ru/sos
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".