summaryrefslogtreecommitdiff
path: root/TAO/tests/Big_Twoways/Session.h
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-24 23:37:29 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-24 23:37:29 +0000
commit3e059c3c408da814880c1a805fca7c7706a7e41f (patch)
treed6e3a81615254579b8c2d134802435acbb05cd13 /TAO/tests/Big_Twoways/Session.h
parent62b663764165b62f678e9ed0d3054a1e0de759a6 (diff)
downloadATCD-3e059c3c408da814880c1a805fca7c7706a7e41f.tar.gz
ChangeLogTag:Tue Apr 24 16:31:03 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'TAO/tests/Big_Twoways/Session.h')
-rw-r--r--TAO/tests/Big_Twoways/Session.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Big_Twoways/Session.h b/TAO/tests/Big_Twoways/Session.h
index 1caf5a37506..6f02a52f802 100644
--- a/TAO/tests/Big_Twoways/Session.h
+++ b/TAO/tests/Big_Twoways/Session.h
@@ -93,7 +93,12 @@ private:
Session_Task task_;
/// Barrier to start all threads simultaenously
- ACE_Thread_Barrier barrier_;
+#if defined(ACE_HAS_THREADS)
+ typedef ACE_Thread_Barrier Barrier;
+#else
+ typedef ACE_Null_Barrier Barrier;
+#endif /* ACE_HAS_THREADS */
+ Barrier barrier_;
};
#if defined(_MSC_VER) && (_MSC_VER >= 1200)