A demonstration that uses multiple signals from the main thread
This example shows how to use multiple signals from the main thread in mbed-os.
The sample sets up two Tickers to generate periodic interrupts. Each ticker sets a signal during an interrupt.
osSignalWait(signal, timeout) is used to wait for an event. Set signal to 0 to exit on any signal or set signal to a mask value to only exit if all of the signals are set.
mbed-os.lib@0:677614c5f014, 2016-09-08 (annotated)
- Committer:
- argusbrown
- Date:
- Thu Sep 08 21:17:19 2016 +0000
- Revision:
- 0:677614c5f014
A demonstration of using multiple signals from the main thread
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
argusbrown | 0:677614c5f014 | 1 | https://github.com/ARMmbed/mbed-os/#0712b8adf6bbc7eb796d5dac26f95d79d40745ef |