mbed-os/rtos
Kevin Bracey 866b669d6e Add Kernel::get_ms_count
Give C++ access to the RTOS's absolute timebase, reducing the need to
run private Timers and similar. Allows wait_until functionality, and
makes it easier to avoid time drift.

Place it in a new header and namespace in case we want more kernel
functions in future.

Try to cover over the breaking API change potentially upcoming in
CMSIS-RTOS 2.1.1, when it reduces the tick count from 64-bit to 32-bit.
(See https://github.com/ARM-software/CMSIS_5/issues/277)

Explicitly state that ticks are milliseconds in mbed OS, despite CMSIS
RTOS 2 permitting different tick rates.

See also https://github.com/ARMmbed/mbed-os/pull/3648 (wait_until
for condition variables) and
https://github.com/ARMmbed/mbed-os/issues/5378 (EventQueue should
use RTOS tick count).
2018-02-09 14:18:44 +00:00
..
TARGET_CORTEX Remove tickless assert for tick count 2018-01-27 00:57:55 -06:00
ConditionVariable.cpp Fix and add test for ConditionVariable 2017-11-15 16:15:27 -06:00
ConditionVariable.h Copy edit ConditionVariable.h 2018-01-27 00:57:21 -06:00
EventFlags.cpp Shrink RTOS classes 2017-11-03 15:22:22 +02:00
EventFlags.h Copy edit EventFlags.h 2018-01-27 00:57:21 -06:00
Kernel.cpp Add Kernel::get_ms_count 2018-02-09 14:18:44 +00:00
Kernel.h Add Kernel::get_ms_count 2018-02-09 14:18:44 +00:00
Mail.h Copy edit Mail.h 2018-01-27 00:57:21 -06:00
MemoryPool.h Copy edit MemoryPool.h 2018-01-27 00:57:21 -06:00
Mutex.cpp Merge pull request #3648 from c1728p9/condition_variable 2017-11-09 16:38:02 +00:00
Mutex.h Copy edit Mutex.h 2018-01-27 00:57:21 -06:00
Queue.h Copy edit Queue.h 2018-01-27 00:57:21 -06:00
RtosTimer.cpp Shrink RTOS classes 2017-11-03 15:22:22 +02:00
RtosTimer.h Copy edit RtosTimer.h 2018-01-27 00:57:22 -06:00
Semaphore.cpp Shrink RTOS classes 2017-11-03 15:22:22 +02:00
Semaphore.h Copy edit Semaphore.h 2018-01-27 00:57:22 -06:00
Thread.cpp Fixed whitespace 2017-12-20 16:05:44 +00:00
Thread.h Copy edit Thread.h 2018-01-27 00:57:22 -06:00
mbed_lib.json RTOS - add config mbed_lib.json file 2016-06-08 18:41:29 +01:00
rtos.h Add Kernel::get_ms_count 2018-02-09 14:18:44 +00:00
rtos_idle.h Doxygen comment updates and fixes 2017-10-26 15:36:26 -05:00