Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.
Dependents: denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more
Deprecated
This is the mbed 2 rtos library. mbed OS 5 integrates the mbed library with mbed-rtos. With this, we have provided thread safety for all mbed APIs. If you'd like to learn about using mbed OS 5, please see the docs.
Diff: rtos/Thread.cpp
- Revision:
- 76:85a52b7ef44b
- Parent:
- 59:28712e303960
- Child:
- 84:143955ffb790
--- a/rtos/Thread.cpp Mon Apr 27 09:45:31 2015 +0100 +++ b/rtos/Thread.cpp Tue May 05 08:00:49 2015 +0100 @@ -62,6 +62,10 @@ return osSignalSet(_tid, signals); } +int32_t Thread::signal_clr(int32_t signals) { + return osSignalClear(_tid, signals); +} + Thread::State Thread::get_state() { #ifndef __MBED_CMSIS_RTOS_CA9 return ((State)_thread_def.tcb.state);