diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-12 19:20:20 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-10-12 19:20:20 +0000 |
commit | 2b25b3e3dafc26d6809539dc848a3bb9f7bcc85e (patch) | |
tree | 969557ea11ba19f1167c3f49730f50dcffe6e305 /ace/Timer_Queue_Adapters.i | |
parent | d85bd1bcd0d71fc620645ccc4a2ddf88ef3219ed (diff) | |
download | ATCD-2b25b3e3dafc26d6809539dc848a3bb9f7bcc85e.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Timer_Queue_Adapters.i')
-rw-r--r-- | ace/Timer_Queue_Adapters.i | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ace/Timer_Queue_Adapters.i b/ace/Timer_Queue_Adapters.i new file mode 100644 index 00000000000..bc2cceecc25 --- /dev/null +++ b/ace/Timer_Queue_Adapters.i @@ -0,0 +1,24 @@ +// $Id$ + +/* -*- C++ -*- */ + +template<class TQ> ACE_INLINE +ACE_Thread_Timer_Queue_Adapter<TQ>::ACE_Thread_Timer_Queue_Adapter (void) + : ACE_Task_Base (ACE_Thread_Manager::instance ()), + condition_ (lock_) +{ + // Assume that we start in active mode. + active_ = 1; +} + +template<class TQ> ACE_INLINE ACE_SYNCH_MUTEX & +ACE_Thread_Timer_Queue_Adapter<TQ>::lock (void) +{ + return lock_; +} + +template<class TQ> ACE_INLINE TQ & +ACE_Thread_Timer_Queue_Adapter<TQ>::timer_queue (void) +{ + return timer_queue_; +} |