This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Perl 5.7.2
- To: <cygwin at cygwin dot com>
- Subject: Re: Perl 5.7.2
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Wed, 10 Oct 2001 08:47:18 +1000
- References: <3BC38B93.11178.2FA66410@localhost>
----- 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/