Semaphores

No description

test_basic_sem_test()

Test semaphore count when given by an ISR.

test_simple_sem_from_isr()

Test semaphore count when given by thread.

test_simple_sem_from_task()

Test if sys_sem_take() decreases semaphore count.

test_sem_take_no_wait()

Test sys_sem_take() when there is no semaphore to take.

test_sem_take_no_wait_fails()

Test sys_sem_take() with timeout in ISR context.

test_sem_take_timeout_isr()

Test semaphore give and take and its count from ISR.

test_sem_give_take_from_isr()

Test semaphore give limit count.

test_sem_give_limit()

Test semaphore defined at compile time.

test_k_sem_define()

Test semaphore initialization at runtime.

test_k_sem_init()

Test whether a semaphore can be given by an ISR.

test_sem_give_from_isr()

Test semaphore count when given by thread.

test_sem_give_from_thread()

Test a semaphore take operation with an unavailable semaphore.

test_sem_take_timeout_fails()

Test the semaphore take operation with specified timeout.

test_sem_take_timeout()

Test the semaphore take operation with forever wait.

test_sem_take_timeout_forever()

Test semaphore take operation by multiple threads.

test_sem_take_multiple()

Test the max value a semaphore can be given and taken.

test_k_sem_correct_count_limit()

Test synchronization of threads with semaphore.

test_sem_thread2thread()

Test synchronization between thread and irq.

test_sem_thread2isr()

No description

test_sem_reset_waiting()

Test multiple semaphore take and give with wait.

test_sem_multiple_threads_wait()

Test semaphore timeout period.

test_sem_measure_timeouts()

Test timeout of semaphore from thread.

test_sem_measure_timeout_from_thread()

Test multiple semaphore take with timeouts.

test_sem_multiple_take_and_timeouts()

Test sequence of multiple semaphore timeouts.

test_sem_multi_take_timeout_diff_sem()

Test thread mutual exclusion by semaphore.

test_sem_queue_mutual_exclusion()

Test semaphore usage with multiple thread.

test_multiple_thread_sem_usage()

Test max semaphore can be give and take with multiple thread.

test_multi_thread_sem_limit()