misc/24641: pthread_rwlock_rdlock can deadlock

Earl Chew earl_chew at agilent.com
Tue Jan 6 10:18:14 PST 2004


Daniel Eischen wrote:
> Our current implementation is rather simple, but it does
> avoid us from having to build in limits as to how many
> rwlocks can be owned by a thread or how many threads can
> own a rwlock.  I'll add this to my TODO list for libkse
> but it will come at a bit of a performance & storage
> cost and there will have to be some built-in limits.

Thanks for the detailed explanation.

Earl



More information about the freebsd-threads mailing list