mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-31 01:23:47 +00:00
Directory Structure [step 1]: moving files
working on #672 NOTE: This commit can't be compiled!!
This commit is contained in:
63
deps/acelite/ace/FIFO_Recv_Msg.cpp
vendored
Normal file
63
deps/acelite/ace/FIFO_Recv_Msg.cpp
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
#include "ace/FIFO_Recv_Msg.h"
|
||||
|
||||
#include "ace/Log_Category.h"
|
||||
|
||||
#if !defined (__ACE_INLINE__)
|
||||
#include "ace/FIFO_Recv_Msg.inl"
|
||||
#endif /* __ACE_INLINE__ */
|
||||
|
||||
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
||||
|
||||
ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Recv_Msg)
|
||||
|
||||
void
|
||||
ACE_FIFO_Recv_Msg::dump (void) const
|
||||
{
|
||||
#if defined (ACE_HAS_DUMP)
|
||||
ACE_TRACE ("ACE_FIFO_Recv_Msg::dump");
|
||||
ACE_FIFO_Recv::dump ();
|
||||
#endif /* ACE_HAS_DUMP */
|
||||
}
|
||||
|
||||
// Note that persistent means "open FIFO for writing, as well as
|
||||
// reading." This ensures that the FIFO never gets EOF, even if there
|
||||
// aren't any writers at the moment!
|
||||
|
||||
int
|
||||
ACE_FIFO_Recv_Msg::open (const ACE_TCHAR *fifo_name,
|
||||
int flags,
|
||||
mode_t perms,
|
||||
int persistent,
|
||||
LPSECURITY_ATTRIBUTES sa)
|
||||
{
|
||||
ACE_TRACE ("ACE_FIFO_Recv_Msg::open");
|
||||
|
||||
return ACE_FIFO_Recv::open (fifo_name,
|
||||
flags,
|
||||
perms,
|
||||
persistent,
|
||||
sa);
|
||||
}
|
||||
|
||||
ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (void)
|
||||
{
|
||||
ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
|
||||
}
|
||||
|
||||
ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg (const ACE_TCHAR *fifo_name,
|
||||
int flags,
|
||||
mode_t perms,
|
||||
int persistent,
|
||||
LPSECURITY_ATTRIBUTES sa)
|
||||
{
|
||||
ACE_TRACE ("ACE_FIFO_Recv_Msg::ACE_FIFO_Recv_Msg");
|
||||
|
||||
if (this->ACE_FIFO_Recv_Msg::open (fifo_name,
|
||||
flags,
|
||||
perms,
|
||||
persistent,
|
||||
sa) == -1)
|
||||
ACELIB_ERROR ((LM_ERROR, ACE_TEXT ("%p\n"), ACE_TEXT ("ACE_FIFO_Recv_Msg")));
|
||||
}
|
||||
|
||||
ACE_END_VERSIONED_NAMESPACE_DECL
|
||||
Reference in New Issue
Block a user