From bf8979df4c2cec2f0a38933d62dfbed8965ce426 Mon Sep 17 00:00:00 2001 From: "srinivas%netscape.com" Date: Fri, 22 Oct 1999 21:01:51 +0000 Subject: [PATCH] PR_SetThreadPriority should set the priority unconditionally. git-svn-id: svn://10.0.0.236/trunk@51553 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/nsprpub/pr/src/pthreads/ptthread.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mozilla/nsprpub/pr/src/pthreads/ptthread.c b/mozilla/nsprpub/pr/src/pthreads/ptthread.c index 81375fa623c..77636a6e35e 100644 --- a/mozilla/nsprpub/pr/src/pthreads/ptthread.c +++ b/mozilla/nsprpub/pr/src/pthreads/ptthread.c @@ -627,8 +627,7 @@ PR_IMPLEMENT(void) PR_SetThreadPriority(PRThread *thred, PRThreadPriority newPri } #endif - if (rv != -1) - thred->priority = newPri; + thred->priority = newPri; } /* PR_SetThreadPriority */ #if 0