Slightly refactors kthread sleeping
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 03:17:38 +0000 (22:17 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 31 Dec 2014 18:03:10 +0000 (13:03 -0500)
commitfda24a8812e801e6d0a3a07a40553c77c8a1e52c
tree47d1356e38f1a350a14e338bb1f46f8fdc27b57e
parent278871875dc53772ba9b7cb04e9e4cf9f2f8d552
Slightly refactors kthread sleeping

This is a little clearer and doesn't need the goto.
kern/src/kthread.c