diff options
author | wtc%netscape.com <devnull@localhost> | 2003-09-16 20:44:04 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2003-09-16 20:44:04 +0000 |
commit | 46f1643854bbd7a0ac8ee178a703138bcaf36f2a (patch) | |
tree | 8f0809e753df81a0531ad083a98a235423a2b533 | |
parent | 0b0ef5746b0ea4a5e61dc8f7c9fb9a413a1e853c (diff) | |
download | nspr-hg-46f1643854bbd7a0ac8ee178a703138bcaf36f2a.tar.gz |
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.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r-- | pr/include/md/_pth.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pr/include/md/_pth.h b/pr/include/md/_pth.h index 3a50899c..1846fbbc 100644 --- a/pr/include/md/_pth.h +++ b/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 |