Searched refs:pending_thread (Results 1 – 4 of 4) sorted by relevance
132 struct k_thread *pending_thread; in put_msg_in_queue() local148 if (unlikely(pending_thread != NULL)) { in put_msg_in_queue()154 arch_thread_return_value_set(pending_thread, 0); in put_msg_in_queue()155 z_ready_thread(pending_thread); in put_msg_in_queue()281 struct k_thread *pending_thread; in z_impl_k_msgq_get() local300 if (unlikely(pending_thread != NULL)) { in z_impl_k_msgq_get()315 arch_thread_return_value_set(pending_thread, 0); in z_impl_k_msgq_get()316 z_ready_thread(pending_thread); in z_impl_k_msgq_get()440 struct k_thread *pending_thread; in z_impl_k_msgq_purge() local449 pending_thread != NULL; in z_impl_k_msgq_purge()[all …]
78 struct k_thread *pending_thread; in z_impl_k_condvar_broadcast() local87 for (pending_thread = z_unpend_first_thread(&condvar->wait_q); pending_thread != NULL; in z_impl_k_condvar_broadcast()88 pending_thread = z_unpend_first_thread(&condvar->wait_q)) { in z_impl_k_condvar_broadcast()90 arch_thread_return_value_set(pending_thread, 0); in z_impl_k_condvar_broadcast()91 z_ready_thread(pending_thread); in z_impl_k_condvar_broadcast()
283 struct k_thread *pending_thread = z_unpend_first_thread(&slab->wait_q); in k_mem_slab_free() local285 if (unlikely(pending_thread != NULL)) { in k_mem_slab_free()288 z_thread_return_value_set_with_data(pending_thread, 0, mem); in k_mem_slab_free()289 z_ready_thread(pending_thread); in k_mem_slab_free()
214 struct k_thread *pending_thread = z_unpend1_no_timeout(&timer->wait_q); in z_impl_k_timer_stop() local216 if (pending_thread != NULL) { in z_impl_k_timer_stop()217 z_ready_thread(pending_thread); in z_impl_k_timer_stop()
Completed in 10 milliseconds