summaryrefslogtreecommitdiff
path: root/ace/Message_Queue.h
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-06 01:41:15 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-08-06 01:41:15 +0000
commit2e9ec10b4dd58471a90c3a185e9db8886200282d (patch)
treed9b4cb8bc6e1b8bd28331de8e5d44ec5d1cd707d /ace/Message_Queue.h
parent0e8ddecfe3f32c831ae2dc434590e3f84b7d8262 (diff)
downloadATCD-2e9ec10b4dd58471a90c3a185e9db8886200282d.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Message_Queue.h')
-rw-r--r--ace/Message_Queue.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Message_Queue.h b/ace/Message_Queue.h
index 0deac33536c..b9363d2690b 100644
--- a/ace/Message_Queue.h
+++ b/ace/Message_Queue.h
@@ -14,8 +14,8 @@
//
// ============================================================================
-#if !defined (ACE_MESSAGE_LIST_H)
-#define ACE_MESSAGE_LIST_H
+#if !defined (ACE_MESSAGE_QUEUE_H)
+#define ACE_MESSAGE_QUEUE_H
#include "ace/Message_Block.h"
#include "ace/IO_Cntl_Msg.h"
@@ -236,7 +236,7 @@ protected:
ACE_SYNCH_MUTEX_T lock_;
// Protect queue from concurrent access.
-#if defined (ACE_LACKS_COND_T)
+#if defined (ACE_HAS_OPTIMIZED_MESSAGE_QUEUE)
ACE_SYNCH_SEMAPHORE_T not_empty_cond_;
// Used to make threads sleep until the queue is no longer empty.
@@ -254,7 +254,7 @@ protected:
ACE_SYNCH_CONDITION_T not_full_cond_;
// Used to make threads sleep until the queue is no longer full.
-#endif /* ACE_LACKS_COND_T */
+#endif /* ACE_HAS_OPTIMIZED_MESSAGE_QUEUE */
};
template <ACE_SYNCH_1>
@@ -342,4 +342,4 @@ private:
#pragma implementation ("Message_Queue.cpp")
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */
-#endif /* ACE_MESSAGE_LIST_H */
+#endif /* ACE_MESSAGE_QUEUE_H */