summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2005-03-16 08:56:30 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2005-03-16 08:56:30 +0000
commit56297a177caedd1d6e7163091ad0e54da54c4bc8 (patch)
treec3ce5a9a16710c945f15d698796dcbd4176eff72
parent5ab259084b7c5536f20c1094b666dcd6ade0c6ac (diff)
downloadATCD-56297a177caedd1d6e7163091ad0e54da54c4bc8.tar.gz
ChangeLogTag: Wed Mar 16 08:56:12 UTC 2005 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r--TAO/tests/RTScheduling/Current/test.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/tests/RTScheduling/Current/test.cpp b/TAO/tests/RTScheduling/Current/test.cpp
index 80c59eded58..8956fa90c13 100644
--- a/TAO/tests/RTScheduling/Current/test.cpp
+++ b/TAO/tests/RTScheduling/Current/test.cpp
@@ -36,6 +36,9 @@ main (int argc, char* argv [])
orb->run (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
+ // Wait until all threads are ready.
+ ACE_Thread_Manager::instance ()->wait ();
+
orb->destroy (ACE_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}