diff options
author | jeff <jeff@FreeBSD.org> | 2008-03-19 07:35:14 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2008-03-19 07:35:14 +0000 |
commit | d43ad8d37e3c67a58f6d5917a4f252f0a177f652 (patch) | |
tree | 5e128b7a18ed5eef618ac65241762a3e2ba72bbe /sys/libkern/strtoul.c | |
parent | d4862a02d2a48532593512bf78aafae99ce4789e (diff) | |
download | FreeBSD-src-d43ad8d37e3c67a58f6d5917a4f252f0a177f652.zip FreeBSD-src-d43ad8d37e3c67a58f6d5917a4f252f0a177f652.tar.gz |
- At the top of sleepq_catch_signals() lock the thread and check TDF_NEEDSIGCHK
before doing the very expensive cursig() and related locking. NEEDSIGCHK
is updated whenever our signal mask change or when a signal is delivered and
should be sufficient to avoid the more expensive tests. This eliminates
another source of PROC_LOCK contention in multithreaded programs.
Diffstat (limited to 'sys/libkern/strtoul.c')
0 files changed, 0 insertions, 0 deletions