00001 // -*- C++ -*- 00002 // 00003 // $Id: FIFO.inl 69051 2005-10-28 16:14:56Z ossama $ 00004 00005 #include "ace/OS_NS_unistd.h" 00006 00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 ACE_INLINE int 00010 ACE_FIFO::get_local_addr (const ACE_TCHAR *&r) const 00011 { 00012 ACE_TRACE ("ACE_FIFO::get_local_addr"); 00013 r = this->rendezvous_; 00014 return 0; 00015 } 00016 00017 ACE_INLINE int 00018 ACE_FIFO::remove (void) 00019 { 00020 ACE_TRACE ("ACE_FIFO::remove"); 00021 int const result = this->close (); 00022 return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0; 00023 } 00024 00025 ACE_END_VERSIONED_NAMESPACE_DECL