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:
@@ -186,6 +186,8 @@ static net_stack_module_info gNetStackModule = {
|
||||
|
||||
init_timer,
|
||||
set_timer,
|
||||
cancel_timer,
|
||||
is_timer_active,
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user