schedule: add wait and wake functions
authorBrian Norris <banorris@uci.edu>
Thu, 6 Sep 2012 20:37:35 +0000 (13:37 -0700)
committerBrian Norris <banorris@uci.edu>
Thu, 6 Sep 2012 20:48:56 +0000 (13:48 -0700)
commit9b99c30c39f17b485eeca827a9e83806bf67ffac
tree349d33d5c598c1e184fb164feb7b3a27b372c5c6
parente7cda140158c3d1b54d10241348a096848d55cfb
schedule: add wait and wake functions

These functions will be used to prevent execution of threads that should be
waiting for another event (e.g., a THREAD_JOIN should cause a thread to wait
for another thread's exit).
schedule.cc
schedule.h