summaryrefslogtreecommitdiff
path: root/ACE/ace/Message_Queue_T.cpp
diff options
context:
space:
mode:
authormcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-08-16 13:45:10 +0000
committermcorino <mcorino@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2012-08-16 13:45:10 +0000
commitb4660159cdc31008967478c3573c4584a5548ca5 (patch)
treef7da44fbd24f62bb63f33ea1a2e20ed8753c0972 /ACE/ace/Message_Queue_T.cpp
parent4fec579b8f05ddce263d9b8998c6a6e10e971a08 (diff)
downloadATCD-b4660159cdc31008967478c3573c4584a5548ca5.tar.gz
Thu Aug 16 13:43:39 UTC 2012 Martin Corino <mcorino@remedy.nl>
Diffstat (limited to 'ACE/ace/Message_Queue_T.cpp')
-rw-r--r--ACE/ace/Message_Queue_T.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/ACE/ace/Message_Queue_T.cpp b/ACE/ace/Message_Queue_T.cpp
index b80c7f7372e..ee9d08bdace 100644
--- a/ACE/ace/Message_Queue_T.cpp
+++ b/ACE/ace/Message_Queue_T.cpp
@@ -1045,8 +1045,13 @@ template <ACE_SYNCH_DECL, class TIME_POLICY>
ACE_Message_Queue<ACE_SYNCH_USE, TIME_POLICY>::ACE_Message_Queue (size_t hwm,
size_t lwm,
ACE_Notification_Strategy *ns)
+#if defined (ACE_HAS_THREADS)
: not_empty_cond_ (lock_, ACE_Condition_Attributes_T<TIME_POLICY> ())
, not_full_cond_ (lock_, ACE_Condition_Attributes_T<TIME_POLICY> ())
+#else
+ : not_empty_cond_ (lock_)
+ , not_full_cond_ (lock_)
+#endif
{
ACE_TRACE ("ACE_Message_Queue<ACE_SYNCH_USE, TIME_POLICY>::ACE_Message_Queue");