Remove the alarm-with-no-func use case
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 14 Jul 2016 14:54:04 +0000 (10:54 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 19 Jul 2016 15:43:10 +0000 (11:43 -0400)
commit865e03f621b01b01c413e8efc24c6a22d7a06a5e
tree3beba342dc0fff382435cd18b7e2c2111ac57daf
parenta7c26a48fa73fb03d5e30e5f1c1f973a9b30df75
Remove the alarm-with-no-func use case

The old version allowed you to just block on a semaphore if you passed '0'
for the function.  No one was using it, and it complicated the
implementation.  Its functionality has been superceded by functions like
kthread_usleep().

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