parlib: Add a helper for multi-threaded-ness
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 6 Mar 2017 21:21:12 +0000 (16:21 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 16:13:02 +0000 (12:13 -0400)
commitb1675aeff0ab804362e307fbf595ce370f687b0e
tree9b95717348d1067da8d8c82b42d2413e4211f1f6
parenta0929226a9effc933fb851c0a6c43ebc455ac379
parlib: Add a helper for multi-threaded-ness

GCC needs to know at runtime if we have multiple threads or not.

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