summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_sleepqueue.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-01-27 22:42:12 +0000
committerjhb <jhb@FreeBSD.org>2006-01-27 22:42:12 +0000
commit752dede518a13f42a8562db981b85ac17f487ef8 (patch)
tree1983547c747fbe3475c653b178b52dace7f60d6b /sys/kern/subr_sleepqueue.c
parent6160bb7d846b122c36841c02e2ac2106ed39191c (diff)
downloadFreeBSD-src-752dede518a13f42a8562db981b85ac17f487ef8.zip
FreeBSD-src-752dede518a13f42a8562db981b85ac17f487ef8.tar.gz
- Add support for having both a shared and exclusive queue of threads in
each turnstile. Also, allow for the owner thread pointer of a turnstile to be NULL. This is needed for the upcoming reader/writer lock implementation. - Add a new ddb command 'show turnstile' that will look up the turnstile associated with the given lock argument and display useful information like the list of threads blocked on each queue, etc. If there isn't an active turnstile for a lock at the specified address, then the function will see if there is an active turnstile at the specified address and display info about it if so. - Adjust the mutex code to handle the turnstile API changes. Tested on: i386 (all), alpha, amd64, sparc64 (1 and 3)
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud