Commit Graph

5 Commits (a48d12683f8b6b96b07c262398097eeb89990506)

Author SHA1 Message Date
Amanda Butler 2418d9c0ae
Edit Kernel.h
Make minor copy edits for active voice, branding and deletion of extra spaces.
2018-10-30 10:25:25 -05:00
Senthil Ramakrishnan 4cdcdc1010 Updated attach_thread_terminate_hook doxygen comments 2018-10-29 13:53:19 -05:00
Senthil Ramakrishnan ad88218a35 Kernel.h doxygen update 2018-10-29 13:47:22 -05:00
Kevin Bracey 1330eeecd0 Add ThisThread 2018-08-28 13:25:17 +03:00
Kevin Bracey 4d3888c06a 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-01-29 15:26:41 +02:00