Date: Tue, 12 Dec 2006 03:08:49 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libthr/thread thr_cond.c thr_umtx.c Message-ID: <200612120308.kBC38nvw081864@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2006-12-12 03:08:49 UTC FreeBSD src repository Modified files: lib/libthr/thread thr_cond.c thr_umtx.c Log: Move checking for c_has_waiters into low level _thr_ucond_signal and _thr_ucond_broadcast, clear condition variable pointer in cancellation info after returing from _thr_ucond_wait, since kernel has already dropped the internal lock, so we don't need to unlock it in cancellation handler again. Revision Changes Path 1.23 +8 -16 src/lib/libthr/thread/thr_cond.c 1.9 +4 -0 src/lib/libthr/thread/thr_umtx.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612120308.kBC38nvw081864>