1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/lib/libkse
Daniel Eischen 24f33bca1c Add a simple work-around for deadlocking on recursive read locks
on a rwlock while there are writers waiting.  We normally favor
writers but when a reader already has at least one other read lock,
we favor the reader.  We don't track all the rwlocks owned by a
thread, nor all the threads that own a rwlock -- we just keep
a count of all the read locks owned by a thread.

PR:	24641
2004-01-08 15:37:09 +00:00
..
arch Simplify the contexts created by the kernel and remove the related 2003-12-07 20:47:33 +00:00
support The caller is expected to set up PIC register corectly before 2003-09-05 18:08:19 +00:00
sys Add the ability to reinitialize libpthread's internal FIFO-queueing 2003-11-04 20:01:38 +00:00
test This test relies on the concurrency level being 1; make it so. 2003-10-20 04:23:49 +00:00
thread Add a simple work-around for deadlocking on recursive read locks 2004-01-08 15:37:09 +00:00
Makefile Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse. 2003-09-27 23:27:19 +00:00