Lines Matching +full:wakeup +full:- +full:and +full:- +full:sleep
4 * SPDX-License-Identifier: Apache-2.0
13 * to sleep. Then one is woken up (from a low priority manager
14 * thread) and arranges to wake up one other thread and validate that
18 * The wakeup test is repeated for all four combinations of threads
19 * either holding or not holding the scheduler lock, and by a
24 #error Preemption test requires single-CPU operation
73 /* Command to worker: use irq_offload() to indirect the wakeup? */
76 /* Command to worker: sleep after wakeup? */
79 /* Command to worker: yield after wakeup? */
92 * path and always returns back into the calling context, so in wakeup_src_thread()
101 /* A little bit of white-box inspection: check that all the in wakeup_src_thread()
118 while (do_sleep && !(src_thread->base.thread_state & _THREAD_PENDING)) { in wakeup_src_thread()
119 /* spin, waiting on the sleep timeout */ in wakeup_src_thread()
215 * NOTE: I checked, and Zephyr doesn't in validate_wakeup()
220 * threads first"), and long term we may want in validate_wakeup()
221 * to revisit this particular check and maybe in validate_wakeup()
249 /* If we're the wakeup target, setting last_wakeup_thread is in worker()
289 zassert_true(k_uptime_get() - start > 0, in worker()
290 "didn't sleep"); in worker()
318 priority = K_LOWEST_APPLICATION_THREAD_PRIO - 1; in ZTEST()