diff options
author | bala <balanatarajan@users.noreply.github.com> | 2003-01-20 22:06:28 +0000 |
---|---|---|
committer | bala <balanatarajan@users.noreply.github.com> | 2003-01-20 22:06:28 +0000 |
commit | d453df61b6bd210dad5bb0ac98802ae82b859fcc (patch) | |
tree | 556fb7a0e8d8365b8f65a3c293f36d3895f8c606 /TAO/tao | |
parent | de89b905913209e42e8e6c8956f6983c1b963036 (diff) | |
download | ATCD-d453df61b6bd210dad5bb0ac98802ae82b859fcc.tar.gz |
ChangeLogTag: Mon Jan 20 16:42:34 2003 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
Diffstat (limited to 'TAO/tao')
-rw-r--r-- | TAO/tao/Muxed_TMS.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
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); |