This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: Re: pthread_mutex_lock/unlock performance?


morning, Corinna

> > the thing is that cygwin's pthread_mutex_lock performs quite lazily it
> > takes about seven times more than using native critical section.

> Bookkeeping overhead? 

excuse my unfamiliarity with the matter, but i have no exact idea what
bookkeping could be. could you elaborate the answer more, please?
or point me to some article/documentation where i can read more?

> Just have a look into the Cygwin source.

yes, that's first place i tried to look, but got little disoriented
with the _ and __ versions of the pthread_mutex_lock. i've eventually
finished in __pthread_lock. am i on the right track?

> If you want to speed up Cygwin's pthread implementation, feel free to
> contribute:  http://cygwin.com/contrib.html

well i'm using windows and cygwin for few months so i quite don't feel 
ready... yet ;)

best regards,
Mojmir

--
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/


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