The patchs from DaveK seems to correct all the problems. Thanks to DaveK for his great and quick work.
Thomas 2009/6/3 Dave Korn <dave.korn.cyg...@googlemail.com>: > Thomas Stalder wrote: >> Hello, >> >> Sometimes pthread_mutex_lock ou pthread_mutex_unlock block. > > Thank you very much for the simple testcases. I have located an invalid > racy optimisation in cygwin's internal lock handling that leads to a deadlock > owing to unmatched lock acquire/releases, and posted a patch combining that > with the fix for the previous deadlock at: > > http://cygwin.com/ml/cygwin-patches/2009-q2/msg00068.html > > (As before, I could send you a DLL with the fix compiled in off-list for > testing if you like.) > > cheers, > DaveK > > -- > 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/ > > -- 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/