Semaphore try methods
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2013 20:23:27 +0000 (13:23 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 16 Jan 2014 02:23:22 +0000 (18:23 -0800)
commitc6aeec658142b9777a7f42446dd6e8a0588b908b
tree7eb150301340ec2639a638b1195c12f817875b81
parentde93451e3538894226be69bf039ec5f1f63e5899
Semaphore try methods

FYI: the irqsave sem_*downs aren't called from IRQ context; they are
used when the ups might be called from IRQ context.
kern/include/kthread.h
kern/src/kthread.c