summaryrefslogtreecommitdiff
path: root/ace/Sched_Params.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-23 18:05:55 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-09-23 18:05:55 +0000
commit36b38e73d4d1461d1349e5f69d07d6cadaa6435e (patch)
treef065dfeb3c80a60aae62c8a36cd20e6ee93eeff6 /ace/Sched_Params.cpp
parent572d302a79eb91a42496ff65ff6f0aba0fde7a25 (diff)
downloadATCD-36b38e73d4d1461d1349e5f69d07d6cadaa6435e.tar.gz
replaced ACE_HAS_STHREADS with ACE_HAS_PRIOCNTL
Diffstat (limited to 'ace/Sched_Params.cpp')
-rw-r--r--ace/Sched_Params.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ace/Sched_Params.cpp b/ace/Sched_Params.cpp
index 0567c58a938..f19db6b0524 100644
--- a/ace/Sched_Params.cpp
+++ b/ace/Sched_Params.cpp
@@ -25,10 +25,10 @@
#include "ace/Sched_Params.i"
#endif /* __ACE_INLINE__ */
-#if defined (ACE_HAS_STHREADS)
-#include /**/ <sys/rtpriocntl.h>
-#include /**/ <sys/tspriocntl.h>
-#endif /* ACE_HAS_STHREADS */
+#if defined (ACE_HAS_PRIOCNTL)
+# include /**/ <sys/rtpriocntl.h>
+# include /**/ <sys/tspriocntl.h>
+#endif /* ACE_HAS_PRIOCNTL */
ACE_RCSID(ace, Sched_Params, "$Id$")
@@ -36,11 +36,11 @@ int
ACE_Sched_Params::priority_min (const Policy policy,
const int scope)
{
-#if defined (ACE_HAS_STHREADS)
+#if defined (ACE_HAS_PRIOCNTL)
ACE_UNUSED_ARG (scope);
- // Assume that ACE_SCHED_OTHER indicates Solaris TS class, and that
- // other policies indicate Solaris RT class.
+ // Assume that ACE_SCHED_OTHER indicates TS class, and that other
+ // policies indicate RT class.
if (policy == ACE_SCHED_OTHER)
{
@@ -114,18 +114,18 @@ ACE_Sched_Params::priority_min (const Policy policy,
ACE_UNUSED_ARG (policy);
ACE_UNUSED_ARG (scope);
ACE_NOTSUP_RETURN (-1);
-#endif /* ACE_HAS_STHREADS */
+#endif /* ACE_HAS_PRIOCNTL */
}
int
ACE_Sched_Params::priority_max (const Policy policy,
const int scope)
{
-#if defined (ACE_HAS_STHREADS)
+#if defined (ACE_HAS_PRIOCNTL)
ACE_UNUSED_ARG (scope);
- // Assume that ACE_SCHED_OTHER indicates Solaris TS class, and that
- // other policies indicate Solaris RT class.
+ // Assume that ACE_SCHED_OTHER indicates TS class, and that other
+ // policies indicate RT class.
// Get the priority class ID and attributes.
pcinfo_t pcinfo;
@@ -194,7 +194,7 @@ ACE_Sched_Params::priority_max (const Policy policy,
ACE_UNUSED_ARG (policy);
ACE_UNUSED_ARG (scope);
ACE_NOTSUP_RETURN (-1);
-#endif /* ACE_HAS_STHREADS */
+#endif /* ACE_HAS_PRIOCNTL */
}
int