diff options
author | huangming <huangminghuang@users.noreply.github.com> | 2003-11-26 03:23:28 +0000 |
---|---|---|
committer | huangming <huangminghuang@users.noreply.github.com> | 2003-11-26 03:23:28 +0000 |
commit | 183eb70de16b85096480d723bc1e6c6f127e0058 (patch) | |
tree | 55d509a92b5b11ab0ab2fe3a1222d1cc44669ba4 | |
parent | e35775cb463d7e3ddbf7ccc9044c5910973856a0 (diff) | |
download | ATCD-183eb70de16b85096480d723bc1e6c6f127e0058.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/orbsvcs/orbsvcs/FtRtEvent/Utils/RT_Task.cpp | 4 |
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, |