mbed_example
/
mbed-os-example-critical-section
Example to demonstrate CriticalSection API usage
README.md
- Committer:
- deepikabhavnani
- Date:
- 2017-10-23
- Revision:
- 0:a88acbffd78b
File content as of revision 0:a88acbffd78b:
### Getting started with the CriticalSectionLock API ### CriticalSectionLock Example This application demonstrated race condition when multiple threads update global shared resource.CriticalSectionLock is used to avoid this race condition and protect the shared counter.