aboutsummaryrefslogtreecommitdiff
path: root/externals/ace/Message_Queue_Vx.inl
blob: b295e958c920201964de7e4534bf5bc72c6261e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// -*- C++ -*-
//
// $Id: Message_Queue_Vx.inl 80826 2008-03-04 14:51:23Z wotte $

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