threads/136345: Recursive read rwlocks in thread A cause
deadlock with write lock in thread B
Attilio Rao
attilio at freebsd.org
Sun Jul 5 15:10:37 UTC 2009
2009/7/5 Rink Springer <rink at freebsd.org>:
> Did some more testing; it works fine on Solaris 9 and 10. Also, the
> deadlock doesn't appear on FreeBSD 6.1-STABLE (Sep 2006). Perhaps this
> is a libthr issue?
I think that rdlock_count in libthr is not updated properly.
Can you test the following patch:
http://www.freebsd.org/~attilio/libthr.diff
Thanks,
Attilio
--
Peace can only be achieved by understanding - A. Einstein
More information about the freebsd-threads
mailing list