[1.7] pthread_mutex_lock/pthread_mutex_unlock strange blocking problem

Thomas Stalder cygwinml@gmail.com
Wed Jun 3 20:36:00 GMT 2009


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.cygwin@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/



More information about the Cygwin mailing list