mbed-os/UNITTESTS/target_h/rtos
Kevin Bracey 83b329cb71 RTOS API for bare metal
Provide partial RTOS API for bare metal builds - things that
can be done in a single threaded environment.

Allows more code to work in both RTOS and bare metal builds without
change, and in particular gives easy access to the ability to
efficiently wait for something occurring in interrupt.

Available in bare-metal:
* ThisThread
* osThreadFlagsSet to set flags on main thread (can be set from IRQ)
* EventFlags (can be set from IRQ)
* Semaphores (can be released from IRQ)
* Mutex (dummy implementation)

Not useful:
* ConditionVariable (could only be signalled from 2nd thread)
* RtosTimer (calls in a second thread context)
* Thread

Unimplemented:
* Mail, Queue, MemoryPool

Possible future work:
* ConditionVariableCS to act as IRQ signalled ConditionVariable
2019-07-15 10:13:50 +03:00
..
Mutex.h RTOS API for bare metal 2019-07-15 10:13:50 +03:00
Semaphore.h cellular unittests ported to googletest framework 2018-09-17 12:07:43 +03:00
mbed_rtos1_types.h RTOS API for bare metal 2019-07-15 10:13:50 +03:00
mbed_rtos_storage.h RTOS API for bare metal 2019-07-15 10:13:50 +03:00
rtos.h RTOS API for bare metal 2019-07-15 10:13:50 +03:00