|
| K_STACK_DEFINE (stack1, 4) |
|
| K_STACK_DEFINE (stack2, 4) |
|
| K_THREAD_STACK_DEFINE (threadstack,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_HEAP_DEFINE (test_pool, 128 *3) |
|
void | test_stack_thread2thread (void) |
| Test to verify data passing between threads via stack. More...
|
|
void | test_stack_thread2isr (void) |
| Verifies data passing between thread and ISR via stack. More...
|
|
void | test_stack_pop_fail (void) |
| Verifies stack pop functionality. More...
|
|
void | test_stack_alloc_thread2thread (void) |
|
void | test_stack_pop_can_wait (void) |
| Test that the stack pop can be waited if no item availablle. More...
|
|
void | test_stack_cleanup_error (void) |
| Verifies cleanup a stack that still be needed by another thread. More...
|
|
void | test_stack_push_full (void) |
| Verifies push a data in the full stack. More...
|
|
void | test_stack_multithread_competition (void) |
| Test multi-threads to get data from stack. More...
|
|
void | test_stack_user_thread2thread (void) |
| Verifies data passing between user threads via stack. More...
|
|
void | test_stack_user_pop_fail (void) |
| Verifies stack pop from a user thread. More...
|
|
void | test_stack_user_init_null (void) |
| Verifies stack alloc and initialize a null pointer. More...
|
|
void | test_stack_user_init_invalid_value (void) |
| Verify that alloc and initialize a stack with 0 memory. More...
|
|
void | test_stack_user_push_null (void) |
| Verify that push some data into a NULL pointer. More...
|
|
void | test_stack_user_pop_null (void) |
| Verifies pop data from a NULL pointer. More...
|
|
void | test_stack_user_pop_permission (void) |
| Verifies cleanup a stack that its data still be waited by another thread. More...
|
|
static void | tIsr_entry_push (const void *p) |
|
static void | tIsr_entry_pop (const void *p) |
|
static void | thread_entry_fn_single (void *p1, void *p2, void *p3) |
|
static void | thread_entry_fn_dual (void *p1, void *p2, void *p3) |
|
static void | thread_entry_fn_isr (void *p1, void *p2, void *p3) |
|
static void | test_single_stack_play (void) |
| Verify data passing between threads using single stack. More...
|
|
static void | test_dual_stack_play (void) |
| Verify data passing between threads using dual stack. More...
|
|
static void | test_isr_stack_play (void) |
| Verify data passing between thread and ISR. More...
|
|
void | thread_entry_wait (void *p1, void *p2, void *p3) |
|
void | test_main (void) |
|