delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/16/21:08:54

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cgf-no-personal-reply-please AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019