Deadly embrace between pthread_cond_wait and pthread_cond_signal

Christopher Faylor
Thu Jun 21 11:25:00 GMT 2001

On Fri, Jun 22, 2001 at 12:33:15AM +1000, Robert Collins wrote:
>Correct a deadlock situation...
>2001-06-22  Robert Collins
>    * (__pthread_cond_timedwait): Lock the waiting mutex
>before the condition protect mutex to avoid deadlocking.
>    (__pthread_cond_wait): Ditto.
>Greg, as far as speed goes, there is a major optimisation I want to
>make, which is to make all process private mutex's critical sections,
>instead of system wide mutex's. This should be a lot faster... when I
>get that done :].

Looks good.
I'm somewhat computer handicapped this week.  Can you check this in yourself,


More information about the Cygwin-patches mailing list