This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Deadly embrace between pthread_cond_wait and pthread_cond_signal


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 
>>>ORDER of MAGNITUDE FASTER
>>>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 path.cc, 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.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]