diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-24 19:18:23 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-05-24 19:18:23 +0000 |
commit | f01ccead7f103caeb45f99f0bb3808f790d82b41 (patch) | |
tree | 964d55f15fb323d791e493aa17ef43e7b76f3cde /ace/Sched_Params.cpp | |
parent | 6da6b97bbed2a9ddfb5830e8799e4b264dd0a399 (diff) | |
download | ATCD-f01ccead7f103caeb45f99f0bb3808f790d82b41.tar.gz |
*** empty log message ***
Diffstat (limited to 'ace/Sched_Params.cpp')
-rw-r--r-- | ace/Sched_Params.cpp | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ace/Sched_Params.cpp b/ace/Sched_Params.cpp index adca11a096f..6701f605313 100644 --- a/ace/Sched_Params.cpp +++ b/ace/Sched_Params.cpp @@ -80,7 +80,9 @@ ACE_Sched_Params::priority_min (const Policy policy, return ACE_THR_PRI_FIFO_MIN; case ACE_SCHED_RR: return ACE_THR_PRI_RR_MIN; - case ACE_SCHED_OTHER: +#if !defined (CHORUS) // SCHED_OTHRE and SCHED_RR have same value + case ACE_SCHED_OTHER: +#endif /* CHORUS */ default: return ACE_THR_PRI_OTHER_MIN; } @@ -93,7 +95,9 @@ ACE_Sched_Params::priority_min (const Policy policy, return ACE_PROC_PRI_FIFO_MIN; case ACE_SCHED_RR: return ACE_PROC_PRI_RR_MIN; - case ACE_SCHED_OTHER: +#if !defined (CHORUS) // SCHED_OTHRE and SCHED_RR have same value + case ACE_SCHED_OTHER: +#endif /* CHORUS */ default: return ACE_PROC_PRI_OTHER_MIN; } @@ -171,7 +175,9 @@ ACE_Sched_Params::priority_max (const Policy policy, return ACE_PROC_PRI_FIFO_MAX; case ACE_SCHED_RR: return ACE_PROC_PRI_RR_MAX; - case ACE_SCHED_OTHER: +#if !defined (CHORUS) // SCHED_OTHRE and SCHED_RR have same value + case ACE_SCHED_OTHER: +#endif /* CHORUS */ default: return ACE_PROC_PRI_OTHER_MAX; } |