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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user