diff options
author | jhb <jhb@FreeBSD.org> | 2003-04-22 20:50:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-04-22 20:50:38 +0000 |
commit | 41837c0a1432e00773a9f7e1c844133dc3f62fc2 (patch) | |
tree | 7e1643dec04960e48deaf7881539cca7b70f183e /lib/libpthread/thread/thr_kern.c | |
parent | ced60d737ac0e99b71a066dfb899c47260e50d34 (diff) | |
download | FreeBSD-src-41837c0a1432e00773a9f7e1c844133dc3f62fc2.zip FreeBSD-src-41837c0a1432e00773a9f7e1c844133dc3f62fc2.tar.gz |
- Assert that the proc lock and sched_lock are held in sched_nice().
- For the 4BSD scheduler, this means that all callers of the static
function resetpriority() now always hold sched_lock, so don't lock
sched_lock explicitly in that function.
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
0 files changed, 0 insertions, 0 deletions