Searched hist:195403 (Results 1 - 1 of 1) sorted by last modified time
/freebsd-11-stable/lib/libthr/thread/ | ||
H A D | thr_rwlock.c | diff 195403 Mon Jul 06 07:34:08 MDT 2009 attilio In the current code, rdlock_count is not correctly handled for some cases. The most notable is that it is not bumped in rwlock_rdlock_common() when the hard path (__thr_rwlock_rdlock()) returns successfully. This can lead to deadlocks in libthr when rwlocks recursion in read mode happens. Fix the interested parts by correctly handling rdlock_count. PR: threads/136345 Reported by: rink Tested by: rink Reviewed by: jeff Approved by: re (kib) MFC: 2 weeks |
Completed in 80 milliseconds