diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-06 00:37:20 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-04-06 00:37:20 +0000 |
commit | e0c13c59fbc07d686a8c16b434b240e5c1ae1116 (patch) | |
tree | b767fe69816602739ed1087e347a2a606e429a30 /ace/Timer_List.h | |
parent | 5c47048dcb6e6ddab8406324df204d2b92f72b2a (diff) | |
download | ATCD-e0c13c59fbc07d686a8c16b434b240e5c1ae1116.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Timer_List.h')
-rw-r--r-- | ace/Timer_List.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/Timer_List.h b/ace/Timer_List.h index 9864fc65b56..95b4157d215 100644 --- a/ace/Timer_List.h +++ b/ace/Timer_List.h @@ -98,11 +98,16 @@ public: // timer. Returns -1 on failure (which is guaranteed never to be a // valid <timer_id>). - virtual int cancel (ACE_Event_Handler *event_handler); + virtual int cancel (ACE_Event_Handler *event_handler, + int dont_call_handle_close = 1); // Cancel all <event_handlers> that match the address of - // <event_handler>. Returns number of handler's cancelled. + // <event_handler>. If <dont_call_handle_close> is 0 then the + // <handle_close> method of <event_handler> will be invoked. + // Returns number of handler's cancelled. - virtual int cancel (int timer_id, const void **arg = 0); + virtual int cancel (int timer_id, + const void **arg = 0, + int dont_call_handle_close = 1); // Cancel the single <ACE_Event_Handler> that matches the <timer_id> // value (which was returned from the <schedule> method). If arg is // non-NULL then it will be set to point to the ``magic cookie'' |