summaryrefslogtreecommitdiff
path: root/ace/config-sunos5.8.h
diff options
context:
space:
mode:
Diffstat (limited to 'ace/config-sunos5.8.h')
-rw-r--r--ace/config-sunos5.8.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/ace/config-sunos5.8.h b/ace/config-sunos5.8.h
index fd5c0054691..de6803e9822 100644
--- a/ace/config-sunos5.8.h
+++ b/ace/config-sunos5.8.h
@@ -9,13 +9,17 @@
// ACE_CONFIG_H is defined by one of the following #included headers.
// #include the SunOS 5.7 config, then add any SunOS 5.8 updates below.
-
#include "ace/config-sunos5.7.h"
+// The range of thread priorities for 5.8 differs from 5.7 in the
+// minimum priority for the SCHED_OTHER policy (i.e.,
+// ACE_THR_PRI_OTHER_MIN)
+# define ACE_THR_PRI_OTHER_MIN (long) -20
+
# if defined (_POSIX_PTHREAD_SEMANTICS)
-#ifdef ACE_LACKS_RWLOCK_T
-#undef ACE_LACKS_RWLOCK_T
-#endif /* ACE_LACKS_RWLOCK_T */
-#endif /* _POSIX_PTHREAD_SEMANTICS */
+# ifdef ACE_LACKS_RWLOCK_T
+# undef ACE_LACKS_RWLOCK_T
+# endif /* ACE_LACKS_RWLOCK_T */
+# endif /* _POSIX_PTHREAD_SEMANTICS */
#endif /* ACE_CONFIG_H */