f
Dependents: Active-WolfMan_V2-5-All-Frank-Board-Functions_copy
Diff: rtos/Thread.cpp
- Revision:
- 76:85a52b7ef44b
- Parent:
- 59:28712e303960
- Child:
- 84:143955ffb790
diff -r 557d5b275f31 -r 85a52b7ef44b rtos/Thread.cpp --- 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);