|
Zephyr Project API
3.1.0
A Scalable Open Source RTOS
|
Macros | |
| #define | STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
| #define | MAIL_LEN 64 |
| #define | HIGH_PRIO 1 |
| #define | LOW_PRIO 8 |
Functions | |
| static | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| static | K_THREAD_STACK_DEFINE (high_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| static | K_THREAD_STACK_DEFINE (low_stack,(512+CONFIG_TEST_EXTRA_STACK_SIZE)) |
| static void | msg_sender (struct k_mbox *pmbox, k_timeout_t timeout) |
| static void | msg_receiver (struct k_mbox *pmbox, k_tid_t thd_id, k_timeout_t timeout) |
| static void | test_mbox_init (void) |
| void | test_send (void *p1, void *p2, void *p3) |
| void | test_msg_receiver (void) |
| void | test_send_un (void *p1, void *p2, void *p3) |
| void | test_msg_receiver_unlimited (void) |
| void | thread_low_prio (void *p1, void *p2, void *p3) |
| void | thread_high_prio (void *p1, void *p2, void *p3) |
| void | test_multi_thread_send_get (void) |
| void | test_main (void) |
Variables | |
| static struct k_thread tdata high_tdata | low_tdata |
| static struct k_mbox mbox | multi_tmbox |
| static struct k_sem | sync_sema |
| static k_tid_t | tid1 |
| static k_tid_t | receiver_tid |
| static char | msg_data [2][64] |
| static enum mmsg_type | info_type |
| #define HIGH_PRIO 1 |
| #define LOW_PRIO 8 |
| #define MAIL_LEN 64 |
| #define STACK_SIZE (512 + CONFIG_TEST_EXTRA_STACK_SIZE) |
| enum mmsg_type |
|
static |
|
static |
|
static |
|
static |
|
static |
| void test_main | ( | void | ) |
test case main entry
|
static |
| void test_msg_receiver | ( | void | ) |
| void test_msg_receiver_unlimited | ( | void | ) |
| void test_multi_thread_send_get | ( | void | ) |
| void test_send | ( | void * | p1, |
| void * | p2, | ||
| void * | p3 | ||
| ) |
| void test_send_un | ( | void * | p1, |
| void * | p2, | ||
| void * | p3 | ||
| ) |
| void thread_high_prio | ( | void * | p1, |
| void * | p2, | ||
| void * | p3 | ||
| ) |
| void thread_low_prio | ( | void * | p1, |
| void * | p2, | ||
| void * | p3 | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |