Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 16 Dec 2004 21:09:36 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: 1.5.12-1: deadlock in gmtime/localtime Message-ID: <20041217020936.GB26712@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <41C22DE0 DOT 20503 AT q-hq DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41C22DE0.20503@q-hq.com> User-Agent: Mutt/1.4.1i On Thu, Dec 16, 2004 at 04:52:48PM -0800, Till Immanuel Patzschke wrote: >the problem occurs in a multithreaded program, but only one thread >calling gmtime_r (calling localtime_r locks as well). The other tread >calls gettimeofday/time. The thread calling gmtime_r is stalled >completely. Machine is XP SP2. Sounds like you understand the problem well enough to write a simple test case (tm) which would demonstrate "the problem". This should be no more than twenty or thirty lines of code. Please send the test case here so that we can investigate. Thanks, cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/