Handle 0 usec in rendez_sleep_timeout()
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 8 Oct 2015 15:03:23 +0000 (11:03 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 14 Oct 2015 22:43:53 +0000 (18:43 -0400)
commitbf0dc36fc2f779155b2d10eab31ea85658207c2a
tree713f92c72aec83b73fde5c6aad7bedbd0b187e61
parentfad2f1e22bbe4a7c8d9f5fb9df7ea4f5b563bd9b
Handle 0 usec in rendez_sleep_timeout()

Userspace can ask for 0 sec, so an assert is wrong.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/rendez.c