diff options
author | jhb <jhb@FreeBSD.org> | 2003-04-22 20:45:38 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-04-22 20:45:38 +0000 |
commit | ced60d737ac0e99b71a066dfb899c47260e50d34 (patch) | |
tree | 7b8a1605bcad801107c58b02f35616921edc488c /lib/libpthread/thread/thr_kern.c | |
parent | 07d96464543509654b723dc053b7dbbf9b917293 (diff) | |
download | FreeBSD-src-ced60d737ac0e99b71a066dfb899c47260e50d34.zip FreeBSD-src-ced60d737ac0e99b71a066dfb899c47260e50d34.tar.gz |
Lock both the proc lock and sched_lock when calling sched_nice since
kg_nice is now protected by both. Being protected by both means that
other places in the kernel that want to read kg_nice only need one of the
two locks.
Diffstat (limited to 'lib/libpthread/thread/thr_kern.c')
0 files changed, 0 insertions, 0 deletions