From f6be4bc50f00566a99464e7d6758df80fc079b5c Mon Sep 17 00:00:00 2001 From: "wtc%netscape.com" Date: Tue, 16 Sep 2003 20:46:14 +0000 Subject: [PATCH] Bugzilla bug 124958: the pthread priority range is 0-31 on OpenBSD. The patch is contributed by Mats Palmgren . r=wtc. git-svn-id: svn://10.0.0.236/trunk@146964 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/include/md/_pth.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mozilla/nsprpub/pr/include/md/_pth.h b/mozilla/nsprpub/pr/include/md/_pth.h index 3a50899c11b..1846fbbcbae 100644 --- a/mozilla/nsprpub/pr/include/md/_pth.h +++ b/mozilla/nsprpub/pr/include/md/_pth.h @@ -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