diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-01-17 09:44:30 +0100 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2023-01-17 09:44:30 +0100 |
commit | 73bdf800479e53a11143735e48348bb88c527c24 (patch) | |
tree | 03252f3055dd58fcfc99a70c53aca435eb61dbc2 /TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp | |
parent | 016eb1b3caa7b8ba0ff4c479895151eca984c82b (diff) | |
download | ATCD-73bdf800479e53a11143735e48348bb88c527c24.tar.gz |
Cleanup Solaris support
Diffstat (limited to 'TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp index 4168b9c133c..4dc0053f3b6 100644 --- a/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp +++ b/TAO/orbsvcs/tests/EC_Throughput/ECT_Supplier_Driver.cpp @@ -104,10 +104,9 @@ ECT_Supplier_Driver::run (int argc, ACE_TCHAR* argv[]) } } - int min_priority = - ACE_Sched_Params::priority_min (ACE_SCHED_FIFO); - // Enable FIFO scheduling, e.g., RT scheduling class on Solaris. + int min_priority = ACE_Sched_Params::priority_min (ACE_SCHED_FIFO); + // Enable FIFO scheduling if (ACE_OS::sched_params (ACE_Sched_Params (ACE_SCHED_FIFO, min_priority, ACE_SCOPE_PROCESS)) != 0) |