Made pthreads work with our hack to never yield the last core
authorKevin Klues <klueska@parcad.millennium.berkeley.edu>
Sat, 24 Apr 2010 00:11:59 +0000 (17:11 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:44 +0000 (17:35 -0700)
commitd0fef1f66bc9a70d6daaab28fb6779e358c46d14
tree89a6472fd43810190493e88fbce980588af5e90c
parent56e51b8335713a2f2feb5606d479024b3476b798
Made pthreads work with our hack to never yield the last core

Need a while loop, since sys_yield() may now return instead of
actually yielding.
tests/pthread_test.c
user/parlib/pthread.c