diff options
author | bala <balanatarajan@users.noreply.github.com> | 2002-11-08 19:18:42 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2002-11-08 19:18:42 +0000 |
commit | 9754786fbd3f0eb7617ce4dc6dc782b4f2e4c02d (patch) | |
tree | 3d6fca019947ca62acbb79a3dc3ee9172a25c7dc /TAO/tao/Connection_Handler.cpp | |
parent | aa2f272a51bfa3ed3b4dbbee07ac3874f283e779 (diff) | |
download | ATCD-9754786fbd3f0eb7617ce4dc6dc782b4f2e4c02d.tar.gz |
ChangeLogTag: Fri Nov 8 13:19:46 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/Connection_Handler.cpp')
-rw-r--r-- | TAO/tao/Connection_Handler.cpp | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/TAO/tao/Connection_Handler.cpp b/TAO/tao/Connection_Handler.cpp index 003fc0881ac..14f6013276c 100644 --- a/TAO/tao/Connection_Handler.cpp +++ b/TAO/tao/Connection_Handler.cpp @@ -138,14 +138,12 @@ TAO_Connection_Handler::svc_i (void) if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - Connection_Handler::svc_i - " - "loop <%d>\n", current_timeout.msec () - )); + "loop <%d>\n", current_timeout.msec ())); } if (TAO_debug_level > 0) ACE_DEBUG ((LM_DEBUG, - "TAO (%P|%t) - Connection_Handler::svc_i end\n" - )); + "TAO (%P|%t) - Connection_Handler::svc_i end\n")); return result; } @@ -261,7 +259,7 @@ TAO_Connection_Handler::handle_input_eh ( ACE_HANDLE h, ACE_Event_Handler * eh) { // Increase the reference count on the upcall that have passed us. - // + // // REFCNT: Matches decr_refcount() in this function... long refcount = this->incr_refcount (); ACE_ASSERT (refcount > 0); @@ -298,7 +296,7 @@ TAO_Connection_Handler::handle_input_eh ( if (TAO_debug_level > 6) { - ACE_HANDLE handle = eh->get_handle(); + ACE_HANDLE handle = eh->get_handle (); ACE_DEBUG ((LM_DEBUG, "TAO (%P|%t) - IIOP_Connection_Handler[%d]::handle_input, " "handle = %d/%d, refcount = %d, retval = %d\n", @@ -335,7 +333,7 @@ int TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler * eh) { // Perform a double checked locking on the underlying ACE_HANDLE - ACE_HANDLE handle = eh->get_handle(); + ACE_HANDLE handle = eh->get_handle (); // If the handle is ACE_INVALID_HANDLE then there is no work to be // done in this function, and we return immediately. Returning 0 @@ -348,9 +346,9 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler * eh) int id = -1; { - ACE_GUARD_RETURN(ACE_Lock, ace_mon, *this->lock_, 0); + ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0); - handle = eh->get_handle(); + handle = eh->get_handle (); if(handle == ACE_INVALID_HANDLE) { return 0; @@ -379,10 +377,10 @@ TAO_Connection_Handler::close_connection_eh (ACE_Event_Handler * eh) // something valid to ACE_INVALID_HANDLE, and the transport() field // will not be changed before that state transition. // - ACE_ASSERT(this->transport () != 0); + ACE_ASSERT (this->transport () != 0); // Save the ID for debugging messages - id = this->transport()->id(); + id = this->transport()->id (); if (TAO_debug_level) { ACE_DEBUG ((LM_DEBUG, |