cvs commit: src/lib/libthr/thread thr_mutex.c
src/lib/libkse/thread thr_mutex.c src/include pthread.h
kip.macy at gmail.com
Mon Oct 29 21:56:39 PDT 2007
On 10/29/07, David Xu <davidxu at freebsd.org> wrote:
> Daniel Eischen wrote:
> > On Tue, 30 Oct 2007, David Xu wrote:
> >> I am not sure PTHREAD_MUTEX_ADAPTIVE_NP is a correct solution, in fact
> >> I think this is Linux crap, shouldn't PTHREAD_PRIO_PROTECT and
> >> PTHREAD_PRIO_INHERIT mutex be adaptivly spinned ?
> >> also this commit does not change mutex_self_lock() to handle the
> >> PTHREAD_MUTEX_ADAPTIVE_NP, what is the PTHREAD_MUTEX_ADAPTIVE_NP
> >> definition when the mutex is already locked by the currect thread ?
> >> deadlock or return error code ?
> > I tend to agree with the "Linux crap" comment, but I hesitate
> > to use those words considering the recent sensor framework
> > incident ;-)
Perhaps. I'm sure Kris would welcome you working more closely with him
in his tuning efforts. We should all be thankful both that you're
working on libthr and that Kris has put so much time into making
FreeBSD a better performing platform.
More information about the cvs-src