summaryrefslogtreecommitdiff
path: root/ACE/ace/Message_Queue_Vx.inl
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2007-06-29 12:06:28 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2007-06-29 12:06:28 +0000
commit64ef19870fc25f213b8b64707720e400a7be9590 (patch)
tree3f8adc5088f0dbc364d249831c9b1cc16018fbd6 /ACE/ace/Message_Queue_Vx.inl
parentdcbad05b18f152cc1571e3124e59683b2a4f9c5f (diff)
downloadATCD-64ef19870fc25f213b8b64707720e400a7be9590.tar.gz
Fri Jun 29 12:04:12 UTC 2007 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACE/ace/Message_Queue_Vx.inl')
-rw-r--r--ACE/ace/Message_Queue_Vx.inl19
1 files changed, 19 insertions, 0 deletions
diff --git a/ACE/ace/Message_Queue_Vx.inl b/ACE/ace/Message_Queue_Vx.inl
new file mode 100644
index 00000000000..0231c8f06c6
--- /dev/null
+++ b/ACE/ace/Message_Queue_Vx.inl
@@ -0,0 +1,19 @@
+// -*- C++ -*-
+//
+// $Id$
+
+ACE_BEGIN_VERSIONED_NAMESPACE_DECL
+
+#if defined (ACE_VXWORKS)
+// Specialization to use native VxWorks Message Queues.
+
+ACE_INLINE MSG_Q_ID
+ACE_Message_Queue_Vx::msgq (void)
+{
+ // Hijack the tail_ field to store the MSG_Q_ID.
+ return reinterpret_cast<MSG_Q_ID> (tail_);
+}
+
+#endif /* ACE_VXWORKS */
+
+ACE_END_VERSIONED_NAMESPACE_DECL