Cleans up run_uthread helpers
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 24 Apr 2013 21:49:06 +0000 (14:49 -0700)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 24 Apr 2013 22:19:10 +0000 (15:19 -0700)
commit9df3e94339eb146fd336e8615129da2a855b8362
tree22169c4385d8097f8a5e57a3251678b0e0f82771
parent1b0dbb18211941c6ae3272cefb52f553750e28d8
Cleans up run_uthread helpers

Running a current uthread is different enough from running a new uthread
to have separate functions, esp with all of the asserts.  And less
branches!

Note I stopped double-checking events - that's a huge pain.
user/parlib/uthread.c