Home
last modified time | relevance | path

Searched refs:new_owner (Results 1 – 1 of 1) sorted by relevance

/Zephyr-Core-2.7.6/kernel/
Dmutex.c203 struct k_thread *new_owner; in z_impl_k_mutex_unlock() local
249 new_owner = z_unpend_first_thread(&mutex->wait_q); in z_impl_k_mutex_unlock()
251 mutex->owner = new_owner; in z_impl_k_mutex_unlock()
254 mutex, new_owner, new_owner ? new_owner->base.prio : -1000); in z_impl_k_mutex_unlock()
256 if (new_owner != NULL) { in z_impl_k_mutex_unlock()
262 mutex->owner_orig_prio = new_owner->base.prio; in z_impl_k_mutex_unlock()
263 arch_thread_return_value_set(new_owner, 0); in z_impl_k_mutex_unlock()
264 z_ready_thread(new_owner); in z_impl_k_mutex_unlock()