Perl 5.7.2
Robert Collins
robert.collins@itdomain.com.au
Tue Oct 9 15:45:00 GMT 2001
----- Original Message -----
From: "Gerrit P. Haase" <gp@familiehaase.de>
To: <cygwin@cygwin.com>
Sent: Wednesday, October 10, 2001 7:43 AM
Subject: Re: Perl 5.7.2
> John Peacock schrieb am 2001-10-09, 10:04:
>
> [ 11151] By: gsar on 2001/07/05
00:42:49
> Log: perl built with USE_ITHREADS can deadlock during fork()
or backticks
> since it doesn't ensure threads other than the one
calling fork()
> aren't holding any locks; the fix is to use
pthread_atfork() to
> hold global locks
>
> building perl with -Dusemymalloc exacerbates the problem
since
> Perl_malloc() holds a mutex, and perl's exec() calls
New()
>
> XXX the code in win32thread.h may be needed on platforms
that have
> no pthread_atfork()
> Branch: perl
> ! perl.c thread.h win32/win32thread.h
>
> But they seem to be very 'old'.
Just a note: cygwin has a (AFAIK :} ) fully funciton pthread_atfork ().
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list