Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Dependents:   Assignment_3__Embedded_Software

Fork of mbed-rtos by mbed official

Revision:
76:85a52b7ef44b
Parent:
31:015df9e602b6
Child:
84:143955ffb790
diff -r 557d5b275f31 -r 85a52b7ef44b rtos/Thread.h
--- a/rtos/Thread.h	Mon Apr 27 09:45:31 2015 +0100
+++ b/rtos/Thread.h	Tue May 05 08:00:49 2015 +0100
@@ -64,6 +64,12 @@
     */
     int32_t signal_set(int32_t signals);
 
+    /** Clears the specified Signal Flags of an active thread.
+      @param   signals  specifies the signal flags of the thread that should be cleared.
+      @return  resultant signal flags of the specified thread or 0x80000000 in case of incorrect parameters.
+    */
+    int32_t signal_clr(int32_t signals);
+
     /** State of the Thread */
     enum State {
         Inactive,           /**< Not created or terminated */