Date: Fri, 26 Mar 2004 06:47:54 -0800 (PST) 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 Message-ID: <200403261447.i2QElsgW099428@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mtm 2004/03/26 06:47:54 PST
FreeBSD src repository
Modified files:
lib/libthr/thread thr_mutex.c
Log:
o The mutex locking functions aren't normally cancellation points. But,
we still have to DTRT when an asynchronously cancellable thread is
cancelled while waiting for a mutex.
o While dequeueing a waiting mutex don't skip a thread if it has
a cancel pending. Only skip it if it is also async cancellable.
Revision Changes Path
1.23 +12 -3 src/lib/libthr/thread/thr_mutex.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403261447.i2QElsgW099428>
