Basic example showing the CMSIS-RTOS signals API

Dependencies:   mbed mbed-rtos

mbed 2 and mbed OS 5

This is an mbed 2 example. mbed OS 5 has integrated the mbed library with mbed-rtos. For an mbed-os example, please see:

Import programrtos_signals

signals example

Revision:
2:7dc6330b7848
Parent:
1:8281c17352c6
--- a/main.cpp	Fri Jul 13 14:49:40 2012 +0000
+++ b/main.cpp	Fri Nov 23 10:55:55 2012 +0000
@@ -3,7 +3,7 @@
 
 DigitalOut led(LED1);
 
-void led_thread(void const *argument) {
+void led_thread(void const *args) {
     while (true) {
         // Signal flags that are reported as event are automatically cleared.
         osSignalWait(0x1, osWaitForever);