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>
Sun, 1 Mar 2015 14:36:00 +0000 (09:36 -0500)
commit394cb483abd5753709bbaf28cbb0895129dfdc3b
tree605a58e638c2cb280863e2a92ca2b63c959ca323
parente01d56574c0f4569cb6d4b37065b2f21ac65e0ff
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