1.5.12-1: deadlock in gmtime/localtime

Christopher Faylor cgf-no-personal-reply-please@cygwin.com
Fri Dec 17 02:08:00 GMT 2004


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/



More information about the Cygwin mailing list