mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 12:52:25 +01:00
* Updated to 6721 and 676 * Fixed TrinityScript logo * Version updated to 0.2.6721.676 --HG-- branch : trunk rename : 6700-670 => 6721-676
26 lines
514 B
C++
26 lines
514 B
C++
// -*- C++ -*-
|
|
//
|
|
// $Id: FIFO.inl 80826 2008-03-04 14:51:23Z wotte $
|
|
|
|
#include "ace/OS_NS_unistd.h"
|
|
|
|
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
|
|
|
|
ACE_INLINE int
|
|
ACE_FIFO::get_local_addr (const ACE_TCHAR *&r) const
|
|
{
|
|
ACE_TRACE ("ACE_FIFO::get_local_addr");
|
|
r = this->rendezvous_;
|
|
return 0;
|
|
}
|
|
|
|
ACE_INLINE int
|
|
ACE_FIFO::remove (void)
|
|
{
|
|
ACE_TRACE ("ACE_FIFO::remove");
|
|
int const result = this->close ();
|
|
return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0;
|
|
}
|
|
|
|
ACE_END_VERSIONED_NAMESPACE_DECL
|