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.
This commit is contained in:
wtc%netscape.com 2003-09-16 20:46:14 +00:00
parent 4de49d2c52
commit 93d83eb616

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