mbed_example
/
mbed-os-example-critical-section
Example to demonstrate CriticalSection API usage
Diff: README.md
- Revision:
- 0:a88acbffd78b
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/README.md Mon Oct 23 21:11:16 2017 +0000 @@ -0,0 +1,8 @@ + +### 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. + \ No newline at end of file