"Deep Background" applications (One of those days...)

Jon Sweedler cjosta at taux01.UUCP
Sun Jun 26 21:56:25 AEST 1988


In article <780 at taux01.UUCP> cjosta at taux01.UUCP (Jon Sweedler) writes:
>In article <779 at taux01.UUCP> cjosta at taux01.UUCP (Jon Sweedler) writes:
>>man page, running a process with a priority of 20 (PRIO_MAX really) will
>                                                    ^^^^^^^^
>Oops.  This should be PRIO_MIN.  And also, under BSD 4.2, PRIO_MIN is
>set to 19.  Under BSD 4.3 it is 20.

Sorry for the multiple postings, but I think I have it right this time...
This is kind of bizarre, but what can you expect from Unix?

Under true BSD 4.3, PRIO_MAX is defined as 20 and PRIO_MIN is defined
as -20.  Regular users can "nice" their processes from 0 to 20.

Under two BSD 4.2 workalikes (DYNIX and Ultrix) that we have here, 
PRIO_MAX is defined as -20 and PRIO_MIN is defined as 20 (i.e. backwards
from BSD 4.3 and thus the reason for my confusion).  Regular 
users can "nice" their processes from 0 to 19 (despite the fact
that in the Ultrix man page for "nice" it says from 0 to 20).

"Standards are wonderful, there are so many to chose from..."
     -- someone

-- 
Jon Sweedler   =====   National Semiconductor (Israel)
UUCP:   {ames!amdahl,hplabs,sun,decwrl}!nsc!taux01!cjosta
Domain: cjosta at taux01.nsc.com
Paper:  6 Maskit st., P.O.B. 3007, Herzlia B 46104, Israel



More information about the Comp.unix.questions mailing list