summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_kern.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2003-04-22 20:45:38 +0000
committerjhb <jhb@FreeBSD.org>2003-04-22 20:45:38 +0000
commitced60d737ac0e99b71a066dfb899c47260e50d34 (patch)
tree7b8a1605bcad801107c58b02f35616921edc488c /lib/libpthread/thread/thr_kern.c
parent07d96464543509654b723dc053b7dbbf9b917293 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud