From 6381e9e86d8f97ed2b388cd96733601677289546 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Thu, 1 Nov 2007 12:00:11 +0000 Subject: Thu Nov 1 11:59:15 UTC 2007 Johnny Willemsen --- ACE/ChangeLog | 10 ++++++++++ ACE/ace/Select_Reactor_T.h | 4 ++-- ACE/ace/Timer_Queue_T.cpp | 3 +-- ACE/ace/Timer_Queue_T.h | 10 +++++----- ACE/ace/Timer_Wheel_T.h | 4 ++-- 5 files changed, 20 insertions(+), 11 deletions(-) diff --git a/ACE/ChangeLog b/ACE/ChangeLog index 2a4b14c4fd4..46910467906 100644 --- a/ACE/ChangeLog +++ b/ACE/ChangeLog @@ -1,3 +1,13 @@ +Thu Nov 1 11:59:15 UTC 2007 Johnny Willemsen + + * ace/Select_Reactor_T.h: + * ace/Timer_Queue_T.h: + * ace/Timer_Wheel_T.h: + Doxygen changes + + * ace/Timer_Queue_T.cpp: + Layout change + Thu Nov 1 11:11:15 UTC 2007 Johnny Willemsen * ace/Service_Config.h: diff --git a/ACE/ace/Select_Reactor_T.h b/ACE/ace/Select_Reactor_T.h index 6ba0ef571dc..332ad9718d9 100644 --- a/ACE/ace/Select_Reactor_T.h +++ b/ACE/ace/Select_Reactor_T.h @@ -373,7 +373,7 @@ public: /** * Cancel all that match the address of - * . If is 0 then the + * . If @a dont_call_handle_close is 0 then the * method of will be invoked. * Returns number of handler's cancelled. */ @@ -386,7 +386,7 @@ public: * non-NULL then it will be set to point to the ``magic cookie'' * argument passed in when the was registered. This * makes it possible to free up the memory and avoid memory leaks. - * If is 0 then the method + * If @a dont_call_handle_close is 0 then the method * of will be invoked. Returns 1 if cancellation * succeeded and 0 if the @a timer_id wasn't found. */ diff --git a/ACE/ace/Timer_Queue_T.cpp b/ACE/ace/Timer_Queue_T.cpp index b7cf0bb40dd..4643090ecd5 100644 --- a/ACE/ace/Timer_Queue_T.cpp +++ b/ACE/ace/Timer_Queue_T.cpp @@ -265,8 +265,7 @@ ACE_Timer_Queue_T::expire (const ACE_Time_Value &cur_ti ACE_Timer_Node_Dispatch_Info_T info; - while ((result = this->dispatch_info_i (cur_time, - info)) != 0) + while ((result = this->dispatch_info_i (cur_time, info)) != 0) { const void *upcall_act = 0; diff --git a/ACE/ace/Timer_Queue_T.h b/ACE/ace/Timer_Queue_T.h index ced92db6181..8aef637579e 100644 --- a/ACE/ace/Timer_Queue_T.h +++ b/ACE/ace/Timer_Queue_T.h @@ -263,7 +263,7 @@ public: /** * Cancel all timer associated with @a type. If - * is 0 then the will be invoked, + * @a dont_call_handle_close is 0 then the will be invoked, * which typically invokes the hook. Returns number * of timers cancelled. */ @@ -276,7 +276,7 @@ public: * then it will be set to point to the ``magic cookie'' argument * passed in when the timer was registered. This makes it possible * to free up the memory and avoid memory leaks. If - * is 0 then the will be invoked, + * @a dont_call_handle_close is 0 then the will be invoked, * which typically calls the hook. Returns 1 if * cancellation succeeded and 0 if the @a timer_id wasn't found. */ @@ -285,16 +285,16 @@ public: int dont_call_handle_close = 1) = 0; /** - * Run the for all timers whose values are <= . + * Run the for all timers whose values are <= @a current_time. * This does not account for . Returns the number of * timers canceled. */ virtual int expire (const ACE_Time_Value ¤t_time); /** - * Get the dispatch information for a timer whose value is <= . + * Get the dispatch information for a timer whose value is <= @a current_time. * This does not account for . Returns 1 if - * there is a node whose value <= else returns a 0. + * there is a node whose value <= @a current_time else returns a 0. * */ virtual int dispatch_info (const ACE_Time_Value ¤t_time, diff --git a/ACE/ace/Timer_Wheel_T.h b/ACE/ace/Timer_Wheel_T.h index c9d07312312..c30587594a5 100644 --- a/ACE/ace/Timer_Wheel_T.h +++ b/ACE/ace/Timer_Wheel_T.h @@ -144,10 +144,10 @@ public: /// the number of timers canceled. virtual int expire (void); - // Run the for all timers whose values are <= . + // Run the for all timers whose values are <= @a current_time. // This does not account for . Returns the number of // timers canceled. - int expire (const ACE_Time_Value&); + int expire (const ACE_Time_Value& current_time); /// Returns a pointer to this 's iterator. virtual ACE_Timer_Queue_Iterator_T& iter (void); -- cgit v1.2.1