|
ZTEST_DMEM | SYS_SEM_DEFINE (multiple_thread_sem,(0U),(10U)) |
|
| K_THREAD_STACK_DEFINE (stack_1,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_THREAD_STACK_DEFINE (stack_2,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_THREAD_STACK_DEFINE (stack_3,(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
| K_THREAD_STACK_ARRAY_DEFINE (multiple_stack,(3),(512+CONFIG_TEST_EXTRA_STACKSIZE)) |
|
void | isr_sem_give (const void *semaphore) |
|
void | isr_sem_take (const void *semaphore) |
|
void | sem_give_from_isr (void *semaphore) |
|
void | sem_take_from_isr (void *semaphore) |
|
void | sem_give_task (void *p1, void *p2, void *p3) |
|
void | sem_take_timeout_forever_helper (void *p1, void *p2, void *p3) |
|
void | sem_take_timeout_isr_helper (void *p1, void *p2, void *p3) |
|
void | sem_take_multiple_low_prio_helper (void *p1, void *p2, void *p3) |
|
void | sem_take_multiple_mid_prio_helper (void *p1, void *p2, void *p3) |
|
void | sem_take_multiple_high_prio_helper (void *p1, void *p2, void *p3) |
|
void | sem_multiple_threads_wait_helper (void *p1, void *p2, void *p3) |
|
void | test_main (void) |
|
|
void | test_basic_sem_test (void) |
|
void | test_simple_sem_from_isr (void) |
| Test semaphore count when given by an ISR. More...
|
|
void | test_simple_sem_from_task (void) |
| Test semaphore count when given by thread. More...
|
|
void | test_sem_take_no_wait (void) |
| Test if sys_sem_take() decreases semaphore count. More...
|
|
void | test_sem_take_no_wait_fails (void) |
| Test sys_sem_take() when there is no semaphore to take. More...
|
|
void | test_sem_take_timeout_fails (void) |
| Test sys_sem_take() with timeout expiry. More...
|
|
void | test_sem_take_timeout (void) |
| Test sys_sem_take() with timeout. More...
|
|
void | test_sem_take_timeout_forever (void) |
| Test sys_sem_take() with forever timeout. More...
|
|
void | test_sem_take_timeout_isr (void) |
| Test sys_sem_take() with timeout in ISR context. More...
|
|
void | test_sem_take_multiple (void) |
| Test multiple semaphore take. More...
|
|
void | test_sem_give_take_from_isr (void) |
| Test semaphore give and take and its count from ISR. More...
|
|
void | test_sem_give_limit (void) |
| Test semaphore give limit count. More...
|
|
void | test_sem_multiple_threads_wait (void) |
| Test multiple semaphore take and give with wait. More...
|
|