Read thread priority as an int, not a boolean.

We were using the wrong field get function.  After our change to
stdbool.h, the thread priority was always 0 or 1.
1 file changed