summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/siginterrupt.c
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2007-04-19 08:02:51 +0000
committerjkoshy <jkoshy@FreeBSD.org>2007-04-19 08:02:51 +0000
commit4552216c34c4f1ca0cc372e71dc0730938ed13e6 (patch)
treedd9b35590ac747ff50c76756b5fc730ccb2cbf86 /lib/libc/gen/siginterrupt.c
parent0119e5166b1153932858ac2977e6e9c1592aa8b7 (diff)
downloadFreeBSD-src-4552216c34c4f1ca0cc372e71dc0730938ed13e6.zip
FreeBSD-src-4552216c34c4f1ca0cc372e71dc0730938ed13e6.tar.gz
Fix witness(4) warnings about mutex use.
Group mutexes used in hwpmc(4) into 3 "types" in the sense of witness(4): - leaf spin mutexes---only one of these should be held at a time, so these mutexes are specified as belonging to a single witness type "pmc-leaf". - `struct pmc_owner' descriptors are protected by a spin mutex of witness type "pmc-owner-proc". Since we call wakeup_one() while holding these mutexes, the witness type of these mutexes needs to dominate that of "sleepq chain" mutexes. - logger threads use a sleep mutex, of type "pmc-sleep". Submitted by: wkoszek (earlier patch)
Diffstat (limited to 'lib/libc/gen/siginterrupt.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud