In this example three semaphores are used to mantain the monotonic execution order of three threads. Each task is consumer of a semaphore and at the same time producer of an another semaphore.Watching the RGB LED you can see the order of execution.

Dependencies:   mbed-rtos mbed

History

First version default tip

2016-02-10, by icserny [Wed, 10 Feb 2016 12:40:31 +0000] rev 0

First version