|
Zephyr API Documentation
2.7.0-rc2
A Scalable Open Source RTOS
|
Macros | |
| #define | SLEEP_MS 100 |
| #define | TEST_STRING "TEST" |
| #define | TEST_STRING_UNLOCKED "TEST_UNLOCKED" |
Functions | |
| K_THREAD_STACK_DEFINE (tstack1,(512+CONFIG_TEST_EXTRA_STACKSIZE)) | |
| static void | thread_entry (void *p1, void *p2, void *p3) |
| static void | thread_callback (const struct k_thread *thread, void *user_data) |
| static void | thread_callback_unlocked (const struct k_thread *thread, void *user_data) |
| void | test_k_thread_foreach (void) |
| Test k_thread_foreach API. More... | |
| void | test_k_thread_foreach_unlocked (void) |
| Test k_thread_foreach_unlock API. More... | |
| void | test_k_thread_foreach_null_cb (void) |
| Test k_thread_foreach API with null callback. More... | |
| void | test_k_thread_foreach_unlocked_null_cb (void) |
| Test k_thread_foreach_unlocked API with null callback. More... | |
| void | test_k_thread_state_str (void) |
| Test k_thread_state_str API with null callback. More... | |
Variables | |
| static int | tcount |
| static bool | thread_flag |
| static bool | create_thread |
| static k_tid_t | in_callback_tid |
| struct k_thread | tdata1 |
| #define SLEEP_MS 100 |
| #define TEST_STRING "TEST" |
| #define TEST_STRING_UNLOCKED "TEST_UNLOCKED" |
| K_THREAD_STACK_DEFINE | ( | tstack1 | , |
| (512+CONFIG_TEST_EXTRA_STACKSIZE) | |||
| ) |
|
static |
|
static |
|
static |
| struct k_thread tdata1 |
|
static |