summaryrefslogtreecommitdiff
path: root/ace/Timer_Queue_Adapters.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-08 22:18:50 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-11-08 22:18:50 +0000
commitdb3e0929e130f089b85b9e5e3e985d8524756b9a (patch)
tree03394aa8ab965a84f6827e4ab840861a029ed0d1 /ace/Timer_Queue_Adapters.cpp
parentce9f56935f4bb7bab4a29a6567f46f3ec7a5ddc0 (diff)
downloadATCD-db3e0929e130f089b85b9e5e3e985d8524756b9a.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Timer_Queue_Adapters.cpp')
-rw-r--r--ace/Timer_Queue_Adapters.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Timer_Queue_Adapters.cpp b/ace/Timer_Queue_Adapters.cpp
index bef4d4af92b..ccc956ff944 100644
--- a/ace/Timer_Queue_Adapters.cpp
+++ b/ace/Timer_Queue_Adapters.cpp
@@ -142,7 +142,7 @@ ACE_Async_Timer_Queue_Adapter<TQ>::handle_signal (int signum,
template<class TQ>
ACE_Thread_Timer_Queue_Adapter<TQ>::ACE_Thread_Timer_Queue_Adapter (ACE_Thread_Manager *tm)
: ACE_Task_Base (tm),
- condition_ (lock_),
+ condition_ (mutex_),
active_ (1), // Assume that we start in active mode.
thr_id_ (ACE_OS::NULL_thread)
{
@@ -161,7 +161,7 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::schedule
const ACE_Time_Value &delay,
const ACE_Time_Value &interval)
{
- ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, -1);
+ ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mutex_, -1);
long result = this->timer_queue_.schedule (handler, act, delay, interval);
this->condition_.signal ();
@@ -172,7 +172,7 @@ template<class TQ> int
ACE_Thread_Timer_Queue_Adapter<TQ>::cancel (long timer_id,
const void **act)
{
- ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, -1);
+ ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mutex_, -1);
int result = this->timer_queue_.cancel (timer_id, act);
condition_.signal ();
@@ -182,7 +182,7 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::cancel (long timer_id,
template<class TQ> void
ACE_Thread_Timer_Queue_Adapter<TQ>::deactivate (void)
{
- ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->lock_);
+ ACE_GUARD (ACE_SYNCH_MUTEX, ace_mon, this->mutex_);
this->active_ = 0;
this->condition_.signal ();
@@ -191,7 +191,7 @@ ACE_Thread_Timer_Queue_Adapter<TQ>::deactivate (void)
template<class TQ> int
ACE_Thread_Timer_Queue_Adapter<TQ>::svc (void)
{
- ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, -1);
+ ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->mutex_, -1);
this->thr_id_ = ACE_Thread::self ();