disabled interrupts for thread_set_priority