|
| | K_MSGQ_DEFINE (kmsgq, 4, 2, 4) |
| |
| | K_MSGQ_DEFINE (kmsgq_test_alloc, 4, 2, 4) |
| |
| | K_THREAD_STACK_DEFINE (tstack,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
| |
| | K_THREAD_STACK_DEFINE (tstack1,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
| |
| | K_THREAD_STACK_DEFINE (tstack2,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
| |
| static void | put_msgq (struct k_msgq *pmsgq) |
| |
| static void | get_msgq (struct k_msgq *pmsgq) |
| |
| static void | purge_msgq (struct k_msgq *pmsgq) |
| |
| static void | tisr_entry (const void *p) |
| |
| static void | thread_entry (void *p1, void *p2, void *p3) |
| |
| static void | msgq_thread (struct k_msgq *pmsgq) |
| |
| static void | thread_entry_overflow (void *p1, void *p2, void *p3) |
| |
| static void | msgq_thread_overflow (struct k_msgq *pmsgq) |
| |
| static void | msgq_isr (struct k_msgq *pmsgq) |
| |
| static void | thread_entry_get_data (void *p1, void *p2, void *p3) |
| |
| static void | pend_thread_entry (void *p1, void *p2, void *p3) |
| |
| static void | msgq_thread_data_passing (struct k_msgq *pmsgq) |
| |
| static void | get_empty_entry (void *p1, void *p2, void *p3) |
| |
| static void | put_full_entry (void *p1, void *p2, void *p3) |
| |
| void | test_msgq_thread (void) |
| | Test thread to thread data passing via message queue. More...
|
| |
| void | test_msgq_thread_overflow (void) |
| | Test thread to thread data passing via message queue. More...
|
| |
| void | test_msgq_user_thread (void) |
| | Test user thread to kernel thread data passing via message queue. More...
|
| |
| void | test_msgq_user_thread_overflow (void) |
| | Test thread to thread data passing via message queue. More...
|
| |
| void | test_msgq_isr (void) |
| | Test thread to isr data passing via message queue. More...
|
| |
| void | test_msgq_pend_thread (void) |
| | Test pending writer in msgq. More...
|
| |
| void | test_msgq_alloc (void) |
| | Test k_msgq_alloc_init() More...
|
| |
| void | test_msgq_empty (void) |
| | Get message from an empty queue. More...
|
| |
| void | test_msgq_full (void) |
| | Put message to a full queue. More...
|
| |