uthread yield and exit code merged
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Mar 2011 01:25:39 +0000 (17:25 -0800)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:36:00 +0000 (17:36 -0700)
commit9d756ea08db546b4a578e67843512d2177fb802a
treeaa225c69a1edec0601ddeba47e4c9aabedaa66d3
parent27cf91f58ef1f7aece762619bf454d78841428a9
uthread yield and exit code merged

Exit now calls yield with a DYING flag set.  2LSs still have both
callbacks; this just simplifies uthread code a bit.  uthread_yield() is
now the only way for a uthread to pause its state and hop into vcore
context.  Exit does this, just without worrying about its old context.
user/parlib/include/uthread.h
user/parlib/uthread.c