summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-28 19:03:15 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-28 19:03:15 +0000
commit9ff008357efb8df35b131de35d81a077827e4bab (patch)
tree54b2f1bca6fb7291b9ea781b937c21ae8b96f0a1
parentf037d94a9d9b7508a9f76e61df9d366b0d69ee27 (diff)
downloadATCD-9ff008357efb8df35b131de35d81a077827e4bab.tar.gz
Fixed thread termination problem in Thread_Deacriptor::terminate().
-rw-r--r--ace/Thread_Manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ace/Thread_Manager.cpp b/ace/Thread_Manager.cpp
index fb98af4ac9c..9121aa948b8 100644
--- a/ace/Thread_Manager.cpp
+++ b/ace/Thread_Manager.cpp
@@ -135,7 +135,7 @@ ACE_Thread_Descriptor::terminate ()
// Threads created with THR_DAEMON shouldn't exist here, but
// just to be safe, let's put it here.
- if (ACE_BIT_ENABLED (this->thr_state_, ACE_Thread_Manager::ACE_THR_JOINING))
+ if (ACE_BIT_DISABLED (this->thr_state_, ACE_Thread_Manager::ACE_THR_JOINING))
{
if (ACE_BIT_DISABLED (this->flags_, THR_DETACHED | THR_DAEMON)
|| ACE_BIT_ENABLED (this->flags_, THR_JOINABLE))