summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2006-03-27 18:40:36 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2006-03-27 18:40:36 +0000
commita9c77fbbdec9c3e168d613e7f53b88d61244578b (patch)
treefc9f584c4b8fabc8bda7cdba28b1797da23bcf64
parentcfb59b4b61aa3b534eebcb0d0136d49d64b3fe65 (diff)
downloadATCD-a9c77fbbdec9c3e168d613e7f53b88d61244578b.tar.gz
ChangeLogTag:Mon Mar 27 10:29:08 UTC 2006 Ossama Othman <ossama_othman at symantec dot com>
-rw-r--r--TAO/ChangeLog8
-rw-r--r--TAO/tao/ORB_Core.cpp2
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)
{