summaryrefslogtreecommitdiff
path: root/ace/FIFO.i
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1996-10-21 21:41:34 +0000
commita5fdebc5f6375078ec1763850a4ca23ec7fe6458 (patch)
treebcf0a25c3d45a209a6e3ac37b233a4812f29c732 /ace/FIFO.i
downloadATCD-a5fdebc5f6375078ec1763850a4ca23ec7fe6458.tar.gz
Initial revision
Diffstat (limited to 'ace/FIFO.i')
-rw-r--r--ace/FIFO.i23
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;
+}
+