thread_set_priority: if new priority isnt highest, yield