summaryrefslogtreecommitdiff
path: root/ACE/ace/Timer_Heap_T.cpp
diff options
context:
space:
mode:
authorsma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-02-01 13:27:15 +0000
committersma <sma@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-02-01 13:27:15 +0000
commiteaa6c4241e2ddb7dce1cffdeed7741d8e2853f3e (patch)
tree890264c7aac793c7699f901747b16c5604a11d13 /ACE/ace/Timer_Heap_T.cpp
parent893393224ef4c40302f1aabb9eb5f24df0d37eec (diff)
downloadATCD-eaa6c4241e2ddb7dce1cffdeed7741d8e2853f3e.tar.gz
ChangeLogTag: Fri Feb 01 13:25:00 UTC 2008 Simon Massey <sma@prismtech.com>
Diffstat (limited to 'ACE/ace/Timer_Heap_T.cpp')
-rw-r--r--ACE/ace/Timer_Heap_T.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ACE/ace/Timer_Heap_T.cpp b/ACE/ace/Timer_Heap_T.cpp
index 100be4ca041..b31aed4b46a 100644
--- a/ACE/ace/Timer_Heap_T.cpp
+++ b/ACE/ace/Timer_Heap_T.cpp
@@ -813,10 +813,10 @@ ACE_Timer_Heap_T<TYPE, FUNCTOR, ACE_LOCK>::cancel (const TYPE &type,
{
ACE_TRACE ("ACE_Timer_Heap_T::cancel");
- int number_of_cancellations = 0;
-
ACE_MT (ACE_GUARD_RETURN (ACE_LOCK, ace_mon, this->mutex_, -1));
+ int number_of_cancellations = 0;
+
// Try to locate the ACE_Timer_Node that matches the timer_id.
for (size_t i = 0; i < this->cur_size_; )