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".
johannes
http://www.sipsolutions.de/
GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc
Key-ID: 9AB78CA5 Johannes Berg
Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
