Add timer_sleep() that takes an argument in timer ticks.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 10 Sep 2004 00:19:06 +0000 (00:19 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 10 Sep 2004 00:19:06 +0000 (00:19 +0000)
commit275c68384d654e4c1f9ac4a3eadd2c3d4e46cf86
tree15522b01170809d132dc21239c45ccce5ee02671
parent5aa19f8c89021f712c6aa4ea275b2be8c980503c
Add timer_sleep() that takes an argument in timer ticks.
Remove timer_msleep(), timer_usleep(), timer_nsleep()
and add corresponding timer_ms2ticks(), timer_us2ticks(), and
timer_ns2ticks() to make the conversions.
doc/filesys.texi
doc/threads.texi
src/devices/disk.c
src/devices/timer.c
src/devices/timer.h