- Fixed race conditions in thread_set_priority.