summaryrefslogtreecommitdiff
path: root/ace/Module.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-16 05:24:01 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>1997-05-16 05:24:01 +0000
commit9651644b48bdb687e3a95d5dc8287da4b4198753 (patch)
tree9bce5a45ca32aae4f5a2cc654d1f13de258a23e9 /ace/Module.cpp
parentd4f5ff3f3612e6a3294567c4697001517f7256d5 (diff)
downloadATCD-9651644b48bdb687e3a95d5dc8287da4b4198753.tar.gz
*** empty log message ***
Diffstat (limited to 'ace/Module.cpp')
-rw-r--r--ace/Module.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ace/Module.cpp b/ace/Module.cpp
index bb0d282fa1e..72d8fdff41f 100644
--- a/ace/Module.cpp
+++ b/ace/Module.cpp
@@ -223,6 +223,10 @@ ACE_Module<ACE_SYNCH_2>::close_i (int which,
// running in them.
task->wait ();
+ // If this assert happens it is likely because the task was
+ // activated with the THR_DETACHED flag, which means that we
+ // can't join() with the thread. Not using THR_DETACHED should
+ // solve this problem.
ACE_ASSERT (task->thr_count () == 0);
delete task;