summaryrefslogtreecommitdiff
path: root/tests/Message_Queue_Notifications_Test.cpp
diff options
context:
space:
mode:
authorSteve Huston <shuston@riverace.com>2000-02-04 22:36:27 +0000
committerSteve Huston <shuston@riverace.com>2000-02-04 22:36:27 +0000
commit9b68edbc70b3d87c93ee2df1507636fdd4e19c08 (patch)
tree7ccfcbef6654362f787b4a1da900f51fc908196b /tests/Message_Queue_Notifications_Test.cpp
parent58ed9c90acd47aecf29e51e0b8c1fe1831373802 (diff)
downloadATCD-9b68edbc70b3d87c93ee2df1507636fdd4e19c08.tar.gz
ChangeLogTag:Fri Feb 4 16:31:22 2000 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'tests/Message_Queue_Notifications_Test.cpp')
-rw-r--r--tests/Message_Queue_Notifications_Test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/Message_Queue_Notifications_Test.cpp b/tests/Message_Queue_Notifications_Test.cpp
index 60966b6ec6c..97aea00ad64 100644
--- a/tests/Message_Queue_Notifications_Test.cpp
+++ b/tests/Message_Queue_Notifications_Test.cpp
@@ -96,8 +96,10 @@ private:
const size_t hwm_;
const size_t lwm_;
ACE_Atomic_Op <ACE_SYNCH_MUTEX, int> role_;
- ACE_MT (ACE_Barrier mq_full_);
- ACE_MT (ACE_Barrier mq_low_water_mark_hit_);
+#if defined (ACE_HAS_THREADS)
+ ACE_Barrier mq_full_;
+ ACE_Barrier mq_low_water_mark_hit_;
+#endif /* ACE_HAS_THREADS */
};
Message_Handler::Message_Handler (ACE_Reactor &reactor)