diff options
author | mtm <mtm@FreeBSD.org> | 2003-05-15 17:56:18 +0000 |
---|---|---|
committer | mtm <mtm@FreeBSD.org> | 2003-05-15 17:56:18 +0000 |
commit | 1e5c97a86ef725631a92a19919f6ba2ed95c6aac (patch) | |
tree | 2a578d3076bd379aa00aad6d3fedcddeb397f7b9 /lib/libthr/thread/thr_cond.c | |
parent | 73765b9ed229b9989a9957e2459ee0b1b9fa9c56 (diff) | |
download | FreeBSD-src-1e5c97a86ef725631a92a19919f6ba2ed95c6aac.zip FreeBSD-src-1e5c97a86ef725631a92a19919f6ba2ed95c6aac.tar.gz |
o Make the setting/checking of cancel state atomic with
respect to other threads and signal handlers by moving to
the _thread_critical_enter/exit functions.
o Introduce an static function, testcancel(), that is used by
the other functions in this module. This allows it to make
locking assumptions that the top-level functions can't.
o Rework the code flow a bit to reduce indentation levels.
Approved by: markm/mentor, re/blanket libthr
Reviewed by: jeff
Diffstat (limited to 'lib/libthr/thread/thr_cond.c')
0 files changed, 0 insertions, 0 deletions