summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp45
1 files changed, 0 insertions, 45 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp b/TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp
deleted file mode 100644
index fdbf2202eb1..00000000000
--- a/TAO/orbsvcs/orbsvcs/Event/Task_Manager.cpp
+++ /dev/null
@@ -1,45 +0,0 @@
-// $Id$
-
-#include "Task_Manager.h"
-#include "ReactorTask.h"
-
-#if ! defined (__ACE_INLINE__)
-#include "Task_Manager.i"
-#endif /* __ACE_INLINE__ */
-
-ACE_Task_Manager::ACE_Task_Manager()
-{
- for (int x=0; x < ACE_Scheduler_MAX_PRIORITIES; x++)
- {
- reactorTasks[x] = 0;
- }
-}
-
-void ACE_Task_Manager::initialize()
-{
- for (int x=0; x < ACE_Scheduler_MAX_PRIORITIES; x++)
- {
- // Convert ACE_Scheduler_Rate (it's really a period, not a rate!)
- // to a form we can easily work with.
- ACE_Time_Value period_tv;
- ORBSVCS_Time::TimeT_to_Time_Value (period_tv, ACE_Scheduler_Rates[x]);
-
- RtecScheduler::Period period = period_tv.sec () * 10000000 +
- period_tv.usec () * 10;
-
- reactorTasks[x] = new ReactorTask;
-
- if (reactorTasks[x] == 0 ||
- reactorTasks[x]->open_reactor (period) == -1)
- {
- ACE_ERROR ((LM_ERROR, "%p.\n", "ACE_ORB::initialize_reactors"));
- return;
- }
- }
-}
-
-#if defined (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION)
-template class ACE_Singleton<ACE_Task_Manager,ACE_SYNCH_MUTEX>;
-#elif defined(ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
-#pragma instantiate ACE_Singleton<ACE_Task_Manager,ACE_SYNCH_MUTEX>
-#endif /* ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION */