summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/AMI/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/AMI/server.cpp')
-rw-r--r--TAO/performance-tests/Latency/AMI/server.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/performance-tests/Latency/AMI/server.cpp b/TAO/performance-tests/Latency/AMI/server.cpp
index 0951ffe2be9..1ba7876caee 100644
--- a/TAO/performance-tests/Latency/AMI/server.cpp
+++ b/TAO/performance-tests/Latency/AMI/server.cpp
@@ -47,13 +47,10 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
(ACE_Sched_Params::priority_min (ACE_SCHED_FIFO)
+ ACE_Sched_Params::priority_max (ACE_SCHED_FIFO)) / 2;
- priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO,
- priority);
+ priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO, priority);
+ priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO, priority);
- priority = ACE_Sched_Params::next_priority (ACE_SCHED_FIFO,
- priority);
-
- // Enable FIFO scheduling, e.g., RT scheduling class on Solaris.
+ // Enable FIFO scheduling
if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO,
priority,
ACE_SCOPE_PROCESS)) != 0)