Fixes uthread sysc block logic
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 18 Mar 2011 00:24:27 +0000 (17:24 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:00 +0000 (17:36 -0700)
commitfb606d9e12d3dc804bde690156f38b703b0ae3a5
treeecee908fc201646aae7213a5582f4e520c840e04
parentca04620933b1eec835449b99f1ef2c166331b412
Fixes uthread sysc block logic

The old version would only screw up if we blocked in uthread_init()
before we entered _M mode.  This way is much clearer, and provides an
approved way to see if you're _M or not.
user/parlib/include/vcore.h
user/parlib/uthread.c