summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhuangming <huangminghuang@users.noreply.github.com>2003-11-26 03:23:28 +0000
committerhuangming <huangminghuang@users.noreply.github.com>2003-11-26 03:23:28 +0000
commit183eb70de16b85096480d723bc1e6c6f127e0058 (patch)
tree55d509a92b5b11ab0ab2fe3a1222d1cc44669ba4
parente35775cb463d7e3ddbf7ccc9044c5910973856a0 (diff)
downloadATCD-183eb70de16b85096480d723bc1e6c6f127e0058.tar.gz
*** empty log message ***
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp
index a846646ab24..4398d6a233d 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp
@@ -6,7 +6,7 @@
void RT_Task::set_current()
{
if (ACE_OS::thr_setprio(ACE_SCHED_FIFO) == -1){
- ACE_DEBUG((LM_DEBUG, "Cannot set the thread to RT class"));
+ ACE_DEBUG((LM_DEBUG, "Cannot set the thread to RT class\n"));
}
}
@@ -25,6 +25,8 @@ int RT_Task::activate(ACE_Task_Base* task)
0,
priority) == -1)
{
+ ACE_DEBUG((LM_DEBUG, "Cannot activate the thread in RT class\n"));
+
// On Linux, for example, only the superuser can set the policy
// to other than ACE_SCHED_OTHER. But with ACE_SCHED_OTHER,
// there is only one thread priority value, for example, 0. So,