Date: Fri, 30 Jul 2004 17:13:00 +0000 (UTC) From: Mike Makonnen <mtm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_mutex.c thr_rwlock.c thr_setschedparam.c Message-ID: <200407301713.i6UHD02p092548@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2004-07-30 17:13:00 UTC
FreeBSD src repository
Modified files:
lib/libthr/thread thr_mutex.c thr_rwlock.c
thr_setschedparam.c
Log:
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407301713.i6UHD02p092548>
