CVSROOT: /cvs Module name: src Changes by: [email protected] 2013/11/26 21:28:32
Modified files:
sys/sys : timeout.h
sys/kern : kern_timeout.c
share/man/man9 : timeout.9
Log message:
make timeout_add and its wrappers return whether the timeout was scheduled
in this call by returning 1, or a previous call by returning 0. this makes
it easy to refcount the stuff we're scheduling a timeout for, and brings
the api in line with what task_add(9) provides.
ok mpi@ matthew@ mikeb@ guenther@
