summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorbala <balanatarajan@users.noreply.github.com>2004-02-13 16:04:16 +0000
committerbala <balanatarajan@users.noreply.github.com>2004-02-13 16:04:16 +0000
commita97ad639c73e1743e54e4c05c314ef89c8320bdf (patch)
treebef1de6b1a3255752e355e1f0fa5967c2e0188a4 /protocols
parent238d7171dad116263112754f167bfee5b43414b2 (diff)
downloadATCD-a97ad639c73e1743e54e4c05c314ef89c8320bdf.tar.gz
ChangeLogTag:Fri Feb 13 09:47:25 2004 Balachandran Natarajan <bala@dre.vanderbilt.edu>
Diffstat (limited to 'protocols')
-rw-r--r--protocols/ace/TMCast/Group.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/protocols/ace/TMCast/Group.cpp b/protocols/ace/TMCast/Group.cpp
index 901aa7ba650..9cb7ee6e686 100644
--- a/protocols/ace/TMCast/Group.cpp
+++ b/protocols/ace/TMCast/Group.cpp
@@ -124,7 +124,7 @@ namespace TMCast
auto_ptr<LinkListener> ll (new LinkListener (sock_, in_link_data_));
{
- AutoLock lock (mutex_);
+ ACE_MT (AutoLock lock (mutex_));
// Loop
//
@@ -298,10 +298,10 @@ namespace TMCast
private:
ACE_thread_t thread_;
- ACE_Thread_Mutex mutex_;
- ACE_Condition<ACE_Thread_Mutex> cond_;
+ ACE_SYNCH_MUTEX mutex_;
+ ACE_SYNCH_CONDITION cond_;
- typedef ACE_Guard<ACE_Thread_Mutex> AutoLock;
+ typedef ACE_Guard<ACE_SYNCH_MUTEX> AutoLock;
char id_[Protocol::MEMBER_ID_LENGTH];
@@ -461,11 +461,11 @@ namespace TMCast
}
private:
- ACE_Thread_Mutex mutex_;
- ACE_Condition<ACE_Thread_Mutex> send_cond_;
- ACE_Condition<ACE_Thread_Mutex> recv_cond_;
+ ACE_SYNCH_MUTEX mutex_;
+ ACE_SYNCH_CONDITION send_cond_;
+ ACE_SYNCH_CONDITION recv_cond_;
- typedef ACE_Guard<ACE_Thread_Mutex> AutoLock;
+ typedef ACE_Guard<ACE_SYNCH_MUTEX> AutoLock;
bool failed_;