mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-11 03:33:00 +00:00
Add support for "absolute" timeouts, which are expressed relative to system uptime instead of deltas from current time. These allow for more race-resistant code to be written by allowing application code to do a single timeout computation, once, and then reuse the timeout value even if the thread wakes up and needs to suspend again later. Signed-off-by: Andy Ross <andrew.j.ross@intel.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
prj_tickless.conf | ||
prj.conf | ||
README | ||
testcase.yaml |
$ make run [QEMU] CPU: qemu32 Running test suite test_timer_api tc_start() - test_timer_duration_period =================================================================== PASS - test_timer_duration_period. tc_start() - test_timer_period_0 =================================================================== PASS - test_timer_period_0. tc_start() - test_timer_expirefn_null =================================================================== PASS - test_timer_expirefn_null. tc_start() - test_timer_status_get =================================================================== PASS - test_timer_status_get. tc_start() - test_timer_status_get_anytime =================================================================== PASS - test_timer_status_get_anytime. tc_start() - test_timer_status_sync =================================================================== PASS - test_timer_status_sync. tc_start() - test_timer_k_define =================================================================== PASS - test_timer_k_define. =================================================================== PROJECT EXECUTION SUCCESSFUL