diff options
author | Steve Huston <shuston@riverace.com> | 1998-04-13 23:04:39 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 1998-04-13 23:04:39 +0000 |
commit | b8a4f11839b733356c1b679e835c928c238db464 (patch) | |
tree | 149b8c7e0374f9eeec7ce60d3a358f4b03227414 | |
parent | fc18aed33dc8cf435e1210fb92dcfeb518732384 (diff) | |
download | ATCD-b8a4f11839b733356c1b679e835c928c238db464.tar.gz |
Disabled the suspend/resume actions for Pthreads.
-rw-r--r-- | tests/Thread_Manager_Test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Thread_Manager_Test.cpp b/tests/Thread_Manager_Test.cpp index 51c13c662d5..4f8e42878ba 100644 --- a/tests/Thread_Manager_Test.cpp +++ b/tests/Thread_Manager_Test.cpp @@ -137,6 +137,8 @@ main (int, char *[]) ACE_ASSERT (grp_id != -1); + // Pthreads doesn't do suspend/resume +#if !defined (ACE_HAS_PTHREADS) // Wait for 1 second and then suspend every thread in the group. ACE_OS::sleep (1); ACE_DEBUG ((LM_DEBUG, "(%t) suspending group\n")); @@ -150,6 +152,7 @@ main (int, char *[]) ACE_DEBUG ((LM_DEBUG, "(%t) resuming group\n")); ACE_ASSERT (thr_mgr->resume_grp (grp_id) != -1); +#endif /* ACE_HAS_PTHREADS */ // Wait for 1 more second and then send a SIGINT to every thread in // the group. |