MCS locks have a "notification-safe" variant
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 5 Mar 2011 01:41:18 +0000 (17:41 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:00 +0000 (17:36 -0700)
commite72762e7abc7e964b7521db28bef47c2a5c13509
tree297fd7816b47ece3113e7660cd196cee7d619458
parentef91af0018bf50ddf30472b28df48eca90c4473c
MCS locks have a "notification-safe" variant

Any lock that is grabbed from vcore context needs to use
mcs_lock_notifsafe(), which is analagous to using irqsave in the kernel
on its spin_locks.
user/parlib/include/mcs.h
user/parlib/include/vcore.h
user/parlib/mcs.c
user/parlib/uthread.c
user/parlib/vcore.c
user/pthread/pthread.c