parlib: Add reader-writer sleeping locks
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 14 Apr 2017 20:54:09 +0000 (16:54 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 3 May 2017 16:13:02 +0000 (12:13 -0400)
commitb5fbb3779a216cc9d86564bea1648b616371287d
tree909d7b4008bc0d4bca2870eb205a09102c1ccd68
parent275cd9c9c5a6306986d4d637426ae5b98b7ce133
parlib: Add reader-writer sleeping locks

Glibc needs these internally.  Someone else might find them useful, too.

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