pthread: Fix sem_timedwait() bug
authorBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Oct 2015 15:36:54 +0000 (11:36 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Oct 2015 16:05:12 +0000 (12:05 -0400)
commitd5f717133f74d1765797fadd351060e07d564361
tree30c47d6f170c577dbf3c9f2d2c444f06c1d77c94
parent11d0ea6595ee28cfdabb9c36465daf38b1d48e55
pthread: Fix sem_timedwait() bug

__sem_timedblock() takes a sem_queue_element *, not a semaphore *.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/pthread/semaphore.c