diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-03-27 18:40:36 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2006-03-27 18:40:36 +0000 |
commit | 9533a5b1efc5cd6d7507ce18d4b3c18b74a09d66 (patch) | |
tree | fc9f584c4b8fabc8bda7cdba28b1797da23bcf64 /TAO | |
parent | 589195355584b5f138338b833fce95611788b01d (diff) | |
download | ATCD-9533a5b1efc5cd6d7507ce18d4b3c18b74a09d66.tar.gz |
ChangeLogTag:Mon Mar 27 10:29:08 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
Diffstat (limited to 'TAO')
-rw-r--r-- | TAO/ChangeLog | 8 | ||||
-rw-r--r-- | TAO/tao/ORB_Core.cpp | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/TAO/ChangeLog b/TAO/ChangeLog index c6bd63f6571..ceac6f4e066 100644 --- a/TAO/ChangeLog +++ b/TAO/ChangeLog @@ -1,3 +1,11 @@ +Mon Mar 27 10:29:08 UTC 2006 Ossama Othman <ossama_othman at symantec dot com> + + * tao/ORB_Core.cpp (destroy_interceptors): + + Fixed race condition that allowed multiple threads to destroy + interceptors concurrently. Thanks to Iliyan for finding this + race condition. + Wed Mar 22 16:18:00 UTC 2006 Simon Massey <sma@prismtech.com> * tests/Bug_1482_Regression/run_test.pl: diff --git a/TAO/tao/ORB_Core.cpp b/TAO/tao/ORB_Core.cpp index ef6d268da98..c728cdc1a0d 100644 --- a/TAO/tao/ORB_Core.cpp +++ b/TAO/tao/ORB_Core.cpp @@ -2202,6 +2202,8 @@ TAO_ORB_Core::destroy_interceptors (ACE_ENV_SINGLE_ARG_DECL) ACE_TRY { + ACE_GUARD (TAO_SYNCH_MUTEX, monitor, this->lock_); + #if TAO_HAS_INTERCEPTORS == 1 if (this->client_request_interceptor_adapter_ != 0) { |