1 #include "ace/SV_Message_Queue.h"
2 #include "ace/Log_Category.h"
3 #if defined (ACE_HAS_ALLOC_HOOKS)
4 # include "ace/Malloc_Base.h"
5 #endif /* ACE_HAS_ALLOC_HOOKS */
7 #if !defined (__ACE_INLINE__)
8 #include "ace/SV_Message_Queue.inl"
9 #endif /* __ACE_INLINE__ */
11 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
13 ACE_ALLOC_HOOK_DEFINE(ACE_SV_Message_Queue
)
16 ACE_SV_Message_Queue::dump () const
18 #if defined (ACE_HAS_DUMP)
19 ACE_TRACE ("ACE_SV_Message_Queue::dump");
20 #endif /* ACE_HAS_DUMP */
23 ACE_SV_Message_Queue::ACE_SV_Message_Queue () :
26 ACE_TRACE ("ACE_SV_Message_Queue::ACE_SV_Message_Queue");
29 ACE_SV_Message_Queue::~ACE_SV_Message_Queue ()
31 ACE_TRACE ("ACE_SV_Message_Queue::~ACE_SV_Message_Queue");
34 ACE_SV_Message_Queue::ACE_SV_Message_Queue (key_t external_id
,
38 ACE_TRACE ("ACE_SV_Message_Queue::ACE_SV_Message_Queue");
39 if (this->open (external_id
, create
, perms
) == -1)
40 ACELIB_ERROR ((LM_ERROR
, ACE_TEXT ("%p\n"),
41 ACE_TEXT ("ACE_SV_Message_Queue::ACE_SV_Message_Queue")));
44 ACE_END_VERSIONED_NAMESPACE_DECL