diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-24 08:03:45 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-04-24 08:03:45 +0000 |
commit | 9e05f3b1d547b8b3c17699ce6796108df969079b (patch) | |
tree | 573bca8bde161a26c8c2b22eb668c421a12050db /ace | |
parent | ffb827a2938294145c0c74d7e06d837236d29694 (diff) | |
download | ATCD-9e05f3b1d547b8b3c17699ce6796108df969079b.tar.gz |
ChangeLogTag:Sat Apr 14 10:51:39 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace')
-rw-r--r-- | ace/Log_Msg.h | 16 | ||||
-rw-r--r-- | ace/Timer_Queue.i | 22 |
2 files changed, 11 insertions, 27 deletions
diff --git a/ace/Log_Msg.h b/ace/Log_Msg.h index fd6c3e81693..5f8bcd7927a 100644 --- a/ace/Log_Msg.h +++ b/ace/Log_Msg.h @@ -224,15 +224,21 @@ public: void clr_flags (u_long f); u_long flags (void); - // = Allow apps to acquire and release internal synchronization lock. + /** @name Allow apps to acquire and release internal synchronization + * lock + * + * This lock is used internally by the <ACE_Log_Msg> + * implementation. By exporting the lock, applications can hold the + * lock atomically over a number of calls to <ACE_Log_Msg>. + */ + //@{ - // This lock is used internally by the <ACE_Log_Msg> implementation. - // By exporting the lock, applications can hold the lock atomically - // over a number of calls to <ACE_Log_Msg>. /// Acquire the internal lock. - /// Release the internal lock. int acquire (void); + + /// Release the internal lock. int release (void); + //@} /// Call after doing a <fork> to resynchronize the process id and /// <program_name> variables. diff --git a/ace/Timer_Queue.i b/ace/Timer_Queue.i deleted file mode 100644 index 41e4324e61e..00000000000 --- a/ace/Timer_Queue.i +++ /dev/null @@ -1,22 +0,0 @@ -/* -*- C++ -*- */ - -template <class TYPE, class FUNCTOR> ACE_INLINE void -ACE_Timer_Queue_T<TYPE, FUNCTOR>::timer_skew (const ACE_Time_Value &skew) -{ - timer_skew_ = skew; -} - -template <class TYPE, class FUNCTOR> ACE_INLINE const ACE_Time_Value & -ACE_Timer_Queue_T<TYPE, FUNCTOR>::timer_skew (void) const -{ - return timer_skew_; -} - -template <class TYPE, class FUNCTOR> ACE_INLINE int -ACE_Timer_Queue_T<TYPE, FUNCTOR>::expire (void) -{ - if (!this->is_empty ()) - return this->expire (this->gettimeofday () + timer_skew_); - else - return 0; -} |