Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / SV_Message_Queue.cpp
blob21fa9d1cb81d18fb5fa8f04d5f9b3ddb557334ce
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)
15 void
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 () :
24 internal_id_ (-1)
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,
35 int create,
36 int perms)
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