This is the mail archive of the
mailing list for the Cygwin project.
Re: fork expert needed: (was Re: pthreads update for the adventurous)
----- Original Message -----
From: "Christopher Faylor" <email@example.com>
Sent: Sunday, April 15, 2001 11:06 PM
Subject: Re: fork expert needed: (was Re: pthreads update for the
> On Sun, Apr 15, 2001 at 12:51:44PM +1000, Robert Collins wrote:
> >> I added this dll relocation stuff last year to help with perl. It
> >> wasn't fun.
> >Oh. Well I infer that it only occurs with threads enabled in python,
> >Jason wouldn't be telling us. Any hints Chris for possible
> >that might prevent the child doing the relocation if the parent has
> >active threads ?
> I believe the relocation happens during DLL initialization when all
> other threads are suspended.
fork() doesn't suspend all the threads in the parent. The thread doing
the call blocks, and the child is started with only one thread. I don't
believe all the threads are meant to be suspended under posix threads
either - but I'll look into this.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple