Export uthread_has_blocked()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 11 Aug 2015 19:15:42 +0000 (15:15 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit81600b61cc0e978dc9996be6804a8245ec2fd029
treebe27d1a4dd9fced4ff04420851ee7b8840bd60eb
parent7f57689bc9cfc22f8cadbfc68655a94633aa7474
Export uthread_has_blocked()

And make the existence of a 2LS op mandatory.  I was tempted to remove
this completely, but I like hiding the sched ops and enforcing that
there was a has_blocked op, just like with uthread_runnable() (it caught
a bug).
user/parlib/include/uthread.h
user/parlib/uthread.c