[fpc-pascal] values for ThreadSetPriority

Seth Grover sethdgrover at gmail.com
Thu Feb 11 01:10:28 CET 2010

After reading the online docs, and searching this list, I'm still
confused. Hopefully someone can straighten me out.

says that it takes for a priority values from -15 to 15. The comment
to the right of the declaration says that "0" is normal. Are these
numbers like nice's, where negative numbers are more favorable (higher
priority) and positive numbers are less favorable (lower priority)?

Also, to further confuse my mind, I found this:
which has some enumerations. How do those come into play? Are those
just for TThread descendents?

I'm just trying to find the correct cross-platform approach for
changing thread priority of threads started with BeginThread.



This email is fiction. Any resemblance to actual events
or persons living or dead is purely coincidental.

Seth Grover

More information about the fpc-pascal mailing list