Added two more utility functions to the timer service:

* cancel_timer() cancels a timer, and returns true if the timer was running
* is_timer_active() determines if the timer is currently running or not.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19393 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2006-11-29 19:09:19 +00:00
parent 69b1f76d66
commit 2bd388f696
5 changed files with 30 additions and 0 deletions
+2
View File
@@ -186,6 +186,8 @@ static net_stack_module_info gNetStackModule = {
init_timer,
set_timer,
cancel_timer,
is_timer_active,
};