summaryrefslogtreecommitdiff
path: root/ACE/tests/Timer_Cancellation_Test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/tests/Timer_Cancellation_Test.cpp')
-rw-r--r--ACE/tests/Timer_Cancellation_Test.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/ACE/tests/Timer_Cancellation_Test.cpp b/ACE/tests/Timer_Cancellation_Test.cpp
index 30f4b9cc41b..b48f2a8849c 100644
--- a/ACE/tests/Timer_Cancellation_Test.cpp
+++ b/ACE/tests/Timer_Cancellation_Test.cpp
@@ -1,4 +1,3 @@
-
//=============================================================================
/**
* @file Timer_Cancellation_Test.cpp
@@ -9,15 +8,12 @@
*/
//=============================================================================
-
#include "test_config.h"
#include "ace/OS_NS_unistd.h"
#include "ace/Reactor.h"
#include "ace/TP_Reactor.h"
#include "ace/Task.h"
-
-
#if defined (ACE_HAS_THREADS)
class Deadlock : public ACE_Task_Base
@@ -116,8 +112,7 @@ run_main (int, ACE_TCHAR *[])
{
ACE_START_TEST (ACE_TEXT ("Timer_Cancellation_Test"));
- ACE_Reactor reactor (new ACE_TP_Reactor,
- 1);
+ ACE_Reactor reactor (new ACE_TP_Reactor, true);
Deadlock deadlock;
deadlock.reactor (&reactor);