diff options
author | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-15 02:10:15 +0000 |
---|---|---|
committer | coryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1999-05-15 02:10:15 +0000 |
commit | 482d30e139234415ab7ef389f68747c2bf082de7 (patch) | |
tree | 53ee4e255691071c583dc0e70d2989f97470bb38 /netsvcs | |
parent | b234c2916c3491857a513f95abffa449d2c5c6b7 (diff) | |
download | ATCD-482d30e139234415ab7ef389f68747c2bf082de7.tar.gz |
ChangeLogTag:Fri May 14 21:03:30 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
Diffstat (limited to 'netsvcs')
-rw-r--r-- | netsvcs/lib/Log_Message_Receiver.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/netsvcs/lib/Log_Message_Receiver.cpp b/netsvcs/lib/Log_Message_Receiver.cpp index e6e5c9ab3a5..e9e6cf4812e 100644 --- a/netsvcs/lib/Log_Message_Receiver.cpp +++ b/netsvcs/lib/Log_Message_Receiver.cpp @@ -16,7 +16,7 @@ Static_Log_Message_Receiver<ACE_SYNCH_USE>::log_record (char const *hostname, { #if defined (ACE_HAS_THREADS) static ACE_SYNCH_MUTEX_T lock_; - ACE_Guard<ACE_SYNCH_MUTEX_T> guard (lock_); + ACE_GUARD (ACE_SYNCH_MUTEX_T, guard, lock_); #endif /* ACE_HAS_THREADS */ record.print (hostname, 0, stderr); @@ -31,7 +31,7 @@ Static_Log_Message_Receiver<ACE_SYNCH_USE>::log_output (char const *hostname, { #if defined (ACE_HAS_THREADS) static ACE_SYNCH_MUTEX_T lock_; - ACE_Guard<ACE_SYNCH_MUTEX_T> guard (lock_); + ACE_GUARD (ACE_SYNCH_MUTEX_T, guard, lock_); #endif /* ACE_HAS_THREADS */ record.print (hostname, 0, *outputfile); } @@ -97,7 +97,7 @@ template<ACE_SYNCH_DECL> void Log_Message_Receiver_Impl<ACE_SYNCH_USE>::log_record (char const *hostname, ACE_Log_Record &record) { - ACE_MT (Guard guard (print_lock_)); + ACE_MT (ACE_GUARD (ACE_SYNCH_MUTEX_T, guard, print_lock_)); record.print (hostname, 0, stderr); } @@ -108,7 +108,7 @@ Log_Message_Receiver_Impl<ACE_SYNCH_USE>::log_output (char const *hostname, { if (outputfile != 0) { - ACE_MT (Guard guard (print_lock_)); + ACE_MT (ACE_GUARD (ACE_SYNCH_MUTEX_T, guard, print_lock_)); record.print (hostname, 0, *outputfile); } } |