Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Macros | |
#define | NUM_THREADS 8 |
#define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
Functions | |
K_THREAD_STACK_ARRAY_DEFINE (worker_stacks, 8,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) | |
void | worker (void *p1, void *p2, void *p3) |
ZTEST (suite_deadline, test_deadline) | |
void | yield_worker (void *p1, void *p2, void *p3) |
ZTEST (suite_deadline, test_yield) | |
void | unqueue_worker (void *p1, void *p2, void *p3) |
ZTEST (suite_deadline, test_unqueued) | |
Validate the behavior of deadline_set when the thread is not queued. | |
ZTEST_SUITE (suite_deadline, NULL, NULL, NULL, NULL, NULL) | |
Variables | |
struct k_thread | worker_threads [8] |
k_tid_t | worker_tids [8] |
int | thread_deadlines [8] |
int | n_exec |
int | exec_order [8] |
#define NUM_THREADS 8 |
#define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
K_THREAD_STACK_ARRAY_DEFINE | ( | worker_stacks | , |
8 | , | ||
(512+CONFIG_TEST_EXTRA_STACK_SIZE) | |||
) |
void unqueue_worker | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
void worker | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
void yield_worker | ( | void * | p1, |
void * | p2, | ||
void * | p3 | ||
) |
ZTEST | ( | suite_deadline | , |
test_deadline | |||
) |
ZTEST | ( | suite_deadline | , |
test_yield | |||
) |
ZTEST_SUITE | ( | suite_deadline | , |
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | , | ||
NULL | |||
) |
int exec_order[8] |
int n_exec |
int thread_deadlines[8] |
struct k_thread worker_threads[8] |
k_tid_t worker_tids[8] |