summaryrefslogtreecommitdiff
path: root/ace/SPIPE_Acceptor.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-13 03:46:24 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1996-12-13 03:46:24 +0000
commit6ee739b410ce5b846971914747b23225243fd82a (patch)
tree0b1b83f537f3e1b7cff3d5df88b3dd7c4ad1aa15 /ace/SPIPE_Acceptor.cpp
parent13bcfa8dd3e58542d6cba5e43a12f2c659fcf1e0 (diff)
downloadATCD-6ee739b410ce5b846971914747b23225243fd82a.tar.gz
foobar
Diffstat (limited to 'ace/SPIPE_Acceptor.cpp')
-rw-r--r--ace/SPIPE_Acceptor.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/ace/SPIPE_Acceptor.cpp b/ace/SPIPE_Acceptor.cpp
index 4797d2087be..fddb16a2b8d 100644
--- a/ace/SPIPE_Acceptor.cpp
+++ b/ace/SPIPE_Acceptor.cpp
@@ -75,10 +75,11 @@ ACE_SPIPE_Acceptor::create_new_instance (int perms)
// process is reused with a new client process, ::ConnectNamedPipe()
// would fail.
- ACE_TRACE ("ACE_SPIPE_Acceptor::create_new_instance");
+ ACE_UNUSED_ARG(perms);
+ ACE_TRACE ("ACE_SPIPE_Acceptor::create_new_instance");
- // Create a new instance of the named pipe
- ACE_HANDLE handle = ::CreateNamedPipe (this->local_addr_.get_path_name (),
+ // Create a new instance of the named pipe
+ ACE_HANDLE handle = ::CreateNamedPipe (this->local_addr_.get_path_name (),
PIPE_ACCESS_DUPLEX |
FILE_FLAG_OVERLAPPED,
PIPE_TYPE_MESSAGE | PIPE_READMODE_MESSAGE,
@@ -157,6 +158,10 @@ ACE_SPIPE_Acceptor::accept (ACE_SPIPE_Stream &new_io,
return 0;
#elif defined (ACE_WIN32)
+ ACE_UNUSED_ARG(restart);
+ ACE_UNUSED_ARG(timeout);
+ ACE_UNUSED_ARG(remote_addr);
+
// Check to see if we have a valid pipe
if (this->get_handle () == ACE_INVALID_HANDLE)
return -1;