zephyr/samples
Benjamin Walsh 76103ecc2b test_sema: test timeout APIs
Test the nano_xxx_sem_wait_timeout() APIs.

First, the task waits with a timeout and times out. Then it wait with a
timeout, but gets the semaphore in time.

Then, multiple timeout tests are done for the fibers, to test the
ordering of queueing/dequeueing when timeout occurs, first on one
semaphore, then on multiple semaphores.

Finally, multiple fibers pend on one semaphore, and they all get the
semaphore in time, except the last one: this tests that the timeout is
recomputed correctly when timeouts are aborted.

Change-Id: I73c174e6f15f38377a14573cb7f531e5e6ca4c07
Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
2016-02-05 20:14:22 -05:00
..
bluetooth sanity: Move Bluetooth regression script 2016-02-05 20:14:21 -05:00
include test_context: add test for fiber delayed start and sleep 2016-02-05 20:14:22 -05:00
microkernel sanity: Remove common-klibs_chk 2016-02-05 20:14:21 -05:00
nanokernel test_sema: test timeout APIs 2016-02-05 20:14:22 -05:00