Add helpers to detect locked user spinlocks
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 18 Aug 2015 19:25:21 +0000 (15:25 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit62f4e5d090f3ed13e051f6a6b6021d4a92380e36
tree533b6918231f7ee17831fb9124b6fa3607979980
parent19a80c586f5328157142588f6cc298b28e63348b
Add helpers to detect locked user spinlocks

Similar to the kernel's functions.  I use these on the user side of
CEQs.
user/parlib/include/spinlock.h
user/parlib/spinlock.c