cvs commit: src/lib/libthr/thread thr_mutex.c thr_rwlock.c
mtm at FreeBSD.org
Fri Jul 30 10:13:15 PDT 2004
mtm 2004-07-30 17:13:00 UTC
FreeBSD src repository
lib/libthr/thread thr_mutex.c thr_rwlock.c
o Assertions to catch that stuff that shouldn't happen is not happening.
o In the rwlock code: move a duplicated check inside an if..else to after
the if...else clause.
o When initializing a static rwlock move the initialization check
inside the lock.
o In thr_setschedparam.c: When breaking out of the trylock...retry if busy
loop make sure to reset the mtx pointer to null if the mutex is nolonger
in a queue.
Revision Changes Path
1.30 +2 -0 src/lib/libthr/thread/thr_mutex.c
1.7 +16 -20 src/lib/libthr/thread/thr_rwlock.c
1.8 +1 -0 src/lib/libthr/thread/thr_setschedparam.c
More information about the cvs-src