Zephyr Project API
3.1.0
A Scalable Open Source RTOS
|
Functions | |
static void | thread_entry (void *p1, void *p2, void *p3) |
static void | threads_suspend_resume (int prio) |
void | test_threads_suspend_resume_cooperative (void) |
Check the suspend and resume functionality in a cooperative thread. More... | |
void | test_threads_suspend_resume_preemptible (void) |
Check the suspend and resume functionality in preemptive thread. More... | |
void | suspend_myself (void *arg0, void *arg1, void *arg2) |
void | test_threads_suspend (void) |
Check that k_thread_suspend() is a schedule point when called on the current thread. More... | |
void | sleep_suspended (void *arg0, void *arg1, void *arg2) |
void | test_threads_suspend_timeout (void) |
Check that k_thread_suspend() cancels a preexisting thread timeout. More... | |
void | test_resume_unsuspend_thread (void) |
Check resume an unsuspend thread. More... | |
Variables | |
static ZTEST_BMEM int | last_prio |
static bool | after_suspend |
void sleep_suspended | ( | void * | arg0, |
void * | arg1, | ||
void * | arg2 | ||
) |
void suspend_myself | ( | void * | arg0, |
void * | arg1, | ||
void * | arg2 | ||
) |
|
static |
|
static |
|
static |
|
static |