Bugzilla bug 124958: the pthread priority range is 0-31 on OpenBSD. The

patch is contributed by Mats Palmgren <mats.palmgren@bredband.net>.  r=wtc.


git-svn-id: svn://10.0.0.236/trunk@146964 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
wtc%netscape.com
2003-09-16 20:46:14 +00:00
parent 571b3c6755
commit f6be4bc50f

View File

@@ -248,7 +248,10 @@
*/
#define PT_PRIO_MIN 1
#define PT_PRIO_MAX 127
#elif defined(NETBSD) || defined(OPENBSD) \
#elif defined(OPENBSD)
#define PT_PRIO_MIN 0
#define PT_PRIO_MAX 31
#elif defined(NETBSD) \
|| defined(BSDI) || defined(DARWIN) || defined(UNIXWARE) /* XXX */
#define PT_PRIO_MIN 0
#define PT_PRIO_MAX 126