kthread_usleep()
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 28 Jan 2015 22:04:05 +0000 (17:04 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 3 Feb 2015 15:12:31 +0000 (10:12 -0500)
commit2df16c542850e24b395c01c30a252732f29c3529
treed7c42010ff1a64675bbb584755ece5208a04a100
parentcb63920dc8ca35000045817776f8a2b10903819d
kthread_usleep()

It's the guts of what sys_block did: blocks a kthread for X usec.  The classic
issue is where we run the alarm handler and where to restart the kthread.
kern/include/kthread.h
kern/src/kthread.c
kern/src/syscall.c