[fpc-devel]linux thread priority mapping

Peter Vreman peter at freepascal.org
Fri Nov 14 13:45:52 CET 2003


> Hi,
>
> The current mapping appears to be {from pthread.inc}
>
> const
> { I Don't know idle or timecritical, value is also 20, so the largest
> other
>   possibility is 19 (PFV) }
>   Priorities: array [TThreadPriority] of Integer
> (-20,-19,-10,9,10,19,20);
>                                                                                 But
> 20
> doesn't
> even
> exist.
> I
> think
> more
> appropriate
> would
> be
> something
> like
> (-20,
> -19,
> -10,
> 0,
> 9,
> 18,
> 19).
> I also don't see a reason why tpNormal should be "9" instead of "0".

fine with me








More information about the fpc-devel mailing list