diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1996-10-21 21:41:34 +0000 |
commit | a5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch) | |
tree | bcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/FIFO.i | |
download | ATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz |
Initial revision
Diffstat (limited to 'ace/FIFO.i')
-rw-r--r-- | ace/FIFO.i | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/ace/FIFO.i b/ace/FIFO.i new file mode 100644 index 00000000000..be1481b954a --- /dev/null +++ b/ace/FIFO.i @@ -0,0 +1,23 @@ +/* -*- C++ -*- */ +// $Id$ + +// FIFO.i + +#include "ace/Log_Msg.h" + +ACE_INLINE int +ACE_FIFO::get_local_addr (const char *&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 result = this->close (); + return ACE_OS::unlink (this->rendezvous_) == -1 || result == -1 ? -1 : 0; +} + |