Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <036201c15114$6779dd00$0200a8c0@lifelesswks> From: "Robert Collins" To: References: <3BC38B93 DOT 11178 DOT 2FA66410 AT localhost> Subject: Re: Perl 5.7.2 Date: Wed, 10 Oct 2001 08:47:18 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-OriginalArrivalTime: 09 Oct 2001 22:53:48.0124 (UTC) FILETIME=[41AF11C0:01C15115] ----- Original Message ----- From: "Gerrit P. Haase" To: 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/