Add a helper for stopping current_uthread
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 22 Feb 2016 17:01:53 +0000 (12:01 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 2 May 2016 21:11:15 +0000 (17:11 -0400)
commit58b59f1a5b80c3a7548b60faa33615fa143c71a2
treea3b57ecb8c0bf5f1e0782b36c2101b6f0f2f954a
parent152302c54737e4d2ffcbe2753926fc744766e6d8
Add a helper for stopping current_uthread

A 2LS could use this to swap threads in response to an event, e.g. a timer
tick.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/parlib/include/parlib/uthread.h
user/parlib/uthread.c