parlib: Add recursive uthread mutexes
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 6 Mar 2017 20:44:08 +0000 (15:44 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 16:13:02 +0000 (12:13 -0400)
commita0929226a9effc933fb851c0a6c43ebc455ac379
treef3ccd7d85662628c83fb39b089583bff49042cda
parent19dc5ad735f8f4bf330bf52c9d36d5b03ed7c909
parlib: Add recursive uthread mutexes

I'm not a huge fan of recursive mutexes, but GCC needs them for C++.

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