From d453df61b6bd210dad5bb0ac98802ae82b859fcc Mon Sep 17 00:00:00 2001 From: bala Date: Mon, 20 Jan 2003 22:06:28 +0000 Subject: ChangeLogTag: Mon Jan 20 16:42:34 2003 Balachandran Natarajan --- TAO/tao/Muxed_TMS.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'TAO/tao') diff --git a/TAO/tao/Muxed_TMS.cpp b/TAO/tao/Muxed_TMS.cpp index 62318675be5..112d735f64c 100644 --- a/TAO/tao/Muxed_TMS.cpp +++ b/TAO/tao/Muxed_TMS.cpp @@ -63,10 +63,11 @@ int TAO_Muxed_TMS::bind_dispatcher (CORBA::ULong request_id, TAO_Reply_Dispatcher *rd) { - // NOTE: The most dangerous form of code. At the outset one would - // think that there is a race here since we are not using the - // lock. But no, there is a implicit synhronization since only one - // thread can be active on this path. + ACE_GUARD_RETURN (TAO_SYNCH_RECURSIVE_MUTEX, + ace_mon, + this->lock_, + -1); + int result = this->dispatcher_table_.bind (request_id, rd); -- cgit v1.2.1