Fixes a bug in _pthread_init that blocks notifs
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 29 Apr 2010 01:09:07 +0000 (18:09 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:46 +0000 (17:35 -0700)
commit810b9ab6d5b4321ff3a30c94a90bca22d721398f
tree0dd6f2e3e01609e5300b564e509c1bbfed756de0
parent65eda3ee84927a621bab788f0d5955c56edc7fa4
Fixes a bug in _pthread_init that blocks notifs

Need to enable notifications so that __startcore will properly bring up
vcore0 at _start.  Otherwise, it will start that _S thread as if it was
a preemption, but with a notif_pending, meaning you'll never receive an
active notification til you clear that flag.
user/parlib/pthread.c