Deadly embrace between pthread_cond_wait and pthread_cond_signal

Christopher Faylor
Wed Jun 27 08:22:00 GMT 2001

On Wed, Jun 27, 2001 at 11:10:13AM -0400, Norman Vine wrote:
>Christopher Faylor writes:
>>On Wed, Jun 27, 2001 at 02:20:08AM -0400, Norman Vine wrote:
>>>I tried Rob's proposed  IsBadWritePtr(...) patch 
>>>< see cygwin list [RE:] pthreads works ,sorta  thread >
>>>And running the Python regression suite is an 
>>>with this patch applied :-))
>>>real    7m5.712s
>>>user    2m50.883s
>>>sys     1m15.236s
>>I bet it would improve even more if we replaced the VirtualQuery
>>in, too.
>With Rob's new patch that does this, 
>there actually isn't very much difference
>real    7m10.729s
>user    2m50.963s
>sys     1m11.721s
>Thanks !

Huh.  I wonder why it makes such a big difference for pthreads.


More information about the Cygwin-patches mailing list