This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Deadly embrace between pthread_cond_wait and pthread_cond_signal
- To: <cygwin-patches at cygwin dot com>,<cygwin at cygwin dot com>
- Subject: Re: Deadly embrace between pthread_cond_wait and pthread_cond_signal
- From: "Robert Collins" <robert dot collins at itdomain dot com dot au>
- Date: Thu, 28 Jun 2001 09:00:13 +1000
- References: <20010627023524.S19058@redhat.com> <00aa01c0ff1b$44106960$a300a8c0@nhv> <20010627112321.A21615@redhat.com>
----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
> >>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.
>
Volume of calls :}. openening files doesn't occur quite as often as (say)
locking a mutex.
I'd like to publicly thank Greg Smith for his excellent profiling work in
identifying the bottleneck here. I know how time consuming that can be :}.
Thanks Greg!
Rob
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/