Add uthread_usleep which sleeps in microseconds.
authorDavid Zhu <yuzhu@cs.berkeley.edu>
Mon, 28 Jul 2014 06:38:16 +0000 (23:38 -0700)
committerDavid Zhu <yuzhu@cs.berkeley.edu>
Sun, 3 Aug 2014 06:55:28 +0000 (23:55 -0700)
commitc5e2d2f32cc966c0ee7235b95577b3d67b4d73fc
tree6513adca7ae46a75eccd466576c99e87d329ccdc
parent526266cda499272430b3370832d4fee8c4efc2d2
Add uthread_usleep which sleeps in microseconds.

Fixing a previous bug where rounding was causing inaccurate waiting.
wq
tests/ping.c
user/parlib/include/uthread.h
user/parlib/uthread.c