summaryrefslogtreecommitdiff
path: root/ace/Asynch_IO.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-16 23:16:19 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1999-01-16 23:16:19 +0000
commitcf24ab9beadeea8ba4552e0882b2cb323c96a040 (patch)
tree629be4905e322de9bedc74c91d07461b4e7356fa /ace/Asynch_IO.cpp
parentb0be299d1300d2bfaf2bf9b72592c05976d39668 (diff)
downloadATCD-cf24ab9beadeea8ba4552e0882b2cb323c96a040.tar.gz
.
Diffstat (limited to 'ace/Asynch_IO.cpp')
-rw-r--r--ace/Asynch_IO.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/ace/Asynch_IO.cpp b/ace/Asynch_IO.cpp
index ec5ecd17032..50d3ea6323d 100644
--- a/ace/Asynch_IO.cpp
+++ b/ace/Asynch_IO.cpp
@@ -804,18 +804,18 @@ private:
// Queue of Result pointers that correspond to all the <accept>'s
// pending.
- ACE_Reactor* reactor_;
+ ACE_Reactor *reactor_;
// Reactor used by the Asynch_Accept. We need this here to enable
// and disable the <handle> now and then, depending on whether any
// <accept> is pending or no.
- ACE_Thread_Mutex lock_;
+ ACE_SYNCH_MUTEX lock_;
// The lock to protect the result queue which is shared. The queue
// is updated by main thread in the register function call and
// through the auxillary thread in the deregister fun. So let us
// mutex it.
- ACE_Proactor* proactor_;
+ ACE_Proactor *proactor_;
// Proactor used by the Asynch_Accept class.
};
@@ -838,7 +838,7 @@ ACE_Asynch_Accept_Handler::register_accept_call (ACE_Asynch_Accept::Result* resu
// The queue is updated by main thread in the register function call
// and thru the auxillary thread in the deregister fun. So let us
// mutex it.
- ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, -1);
+ ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, -1);
// Insert this result to the queue.
int insert_result = this->result_queue_.enqueue_tail (result);
@@ -867,7 +867,7 @@ ACE_Asynch_Accept_Handler::deregister_accept_call (void)
// The queue is updated by main thread in the register function call and
// thru the auxillary thread in the deregister fun. So let us mutex
// it.
- ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, this->lock_, 0);
+ ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, this->lock_, 0);
// Get the first item (result ptr) from the Queue.
ACE_Asynch_Accept::Result* result = 0;