Searched refs:new_owner (Results 1 – 1 of 1) sorted by relevance
213 struct k_thread *new_owner; in z_impl_k_mutex_unlock() local257 new_owner = z_unpend_first_thread(&mutex->wait_q); in z_impl_k_mutex_unlock()259 mutex->owner = new_owner; in z_impl_k_mutex_unlock()262 mutex, new_owner, new_owner ? new_owner->base.prio : -1000); in z_impl_k_mutex_unlock()264 if (unlikely(new_owner != NULL)) { in z_impl_k_mutex_unlock()270 mutex->owner_orig_prio = new_owner->base.prio; in z_impl_k_mutex_unlock()271 arch_thread_return_value_set(new_owner, 0); in z_impl_k_mutex_unlock()272 z_ready_thread(new_owner); in z_impl_k_mutex_unlock()