diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-09-02 15:01:15 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-09-02 15:01:15 +0000 |
commit | a675c80e1a6ccc0b74ba9836b3f0914883df68c8 (patch) | |
tree | 8a222bb3a30d27d260bca1b086152e8270f138e5 | |
parent | 16eaccb72f8c3b56383881c91b2fd0fd14bd32fb (diff) | |
download | ATCD-a675c80e1a6ccc0b74ba9836b3f0914883df68c8.tar.gz |
ChangeLogTag: Mon Sep 2 10:00:40 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | ChangeLogs/ChangeLog-03a | 4 | ||||
-rw-r--r-- | ace/Timer_List_T.cpp | 10 |
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index d60f342c157..51657685f0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Mon Sep 2 10:00:40 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu> + + * ace/Timer_List_T.cpp (get_first_i): Fixes fuzz errors. + Sun Sep 01 08:18:37 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Task.cpp (svc_run): diff --git a/ChangeLogs/ChangeLog-03a b/ChangeLogs/ChangeLog-03a index d60f342c157..51657685f0d 100644 --- a/ChangeLogs/ChangeLog-03a +++ b/ChangeLogs/ChangeLog-03a @@ -1,3 +1,7 @@ +Mon Sep 2 10:00:40 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu> + + * ace/Timer_List_T.cpp (get_first_i): Fixes fuzz errors. + Sun Sep 01 08:18:37 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl> * ace/Task.cpp (svc_run): diff --git a/ace/Timer_List_T.cpp b/ace/Timer_List_T.cpp index df9f31b42cb..821a87f40ff 100644 --- a/ace/Timer_List_T.cpp +++ b/ace/Timer_List_T.cpp @@ -202,7 +202,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::schedule (const TYPE &type, /// The shared scheduling functionality between schedule() and reschedule() template <class TYPE, class FUNCTOR, class ACE_LOCK> void -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::schedule_i (ACE_Timer_Node_T<TYPE>* n, +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::schedule_i (ACE_Timer_Node_T<TYPE>* n, const ACE_Time_Value& expire) { if (this->is_empty()) { @@ -233,7 +233,7 @@ ACE_Timer_Node_T<TYPE>* ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::find_node(long timer_id) const { ACE_Timer_Node_T<TYPE>* n = this->get_first_i(); - if (n == 0) + if (n == 0) return 0; for (; n != this->head_; n = n->get_next()) { @@ -245,8 +245,8 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::find_node(long timer_id) const } // Locate and update the inteval on the timer_id -template <class TYPE, class FUNCTOR, class ACE_LOCK> int -ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::reset_interval (long timer_id, +template <class TYPE, class FUNCTOR, class ACE_LOCK> int +ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::reset_interval (long timer_id, const ACE_Time_Value &interval) { ACE_TRACE ("ACE_Timer_List_T::reset_interval"); @@ -294,7 +294,7 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::cancel (const TYPE &type, int skip_cl if (n->get_type() == type) // Note: Typically Type is an ACE_Event_Handler* { ++num_canceled; - + ACE_Timer_Node_T<TYPE>* tmp = n; n = n->get_next(); int always_skip_close = 1; // todo : Is this correct? |