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.
mbed-rtos.lib@0:61ad4bb19246, 2016-02-10 (annotated)
- Committer:
- icserny
- Date:
- Wed Feb 10 12:40:31 2016 +0000
- Revision:
- 0:61ad4bb19246
First version
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
icserny | 0:61ad4bb19246 | 1 | http://mbed.org/users/mbed_official/code/mbed-rtos/#3d9d2b8b8f17 |