Implement kthread_usleep() with a rendez
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 28 Aug 2015 20:55:05 +0000 (16:55 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit2da5a62fb77e894c18ebf7c4e69a917dd798b78e
treee86a9b163a5850cb337098518c094fe8616415d2
parenta6c10245702ca88dbeb375174fe811dcc31fd08f
Implement kthread_usleep() with a rendez

kthread_usleep() is the underlying call for sys_block().  Using a rendez
here allows userspace to abort sys_block() syscalls.  Recall that we can
abort rendezes, but not arbitrary semaphores.
kern/src/kthread.c