diff options
Diffstat (limited to 'ACE/ace/FIFO.inl')
-rw-r--r-- | ACE/ace/FIFO.inl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ACE/ace/FIFO.inl b/ACE/ace/FIFO.inl new file mode 100644 index 00000000000..149ed11318b --- /dev/null +++ b/ACE/ace/FIFO.inl @@ -0,0 +1,25 @@ +// -*- C++ -*- +// +// $Id$ + +#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 |