OSDN Git Service

Read thread priority as an int, not a boolean.
authorAndy McFadden <fadden@android.com>
Fri, 7 Aug 2009 21:49:40 +0000 (14:49 -0700)
committerAndy McFadden <fadden@android.com>
Fri, 7 Aug 2009 21:49:40 +0000 (14:49 -0700)
commit4879df9b4e10b3a77d7ad7c945cae0b15b8e8b31
tree58321eb41875d02c905d1037a3caed091e85e645
parenta436564f0a48dc10eac83964f55ebd8e007e5f2f
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.
vm/Thread.c