Deepika Bhavnani
/
mbed-os-example-criticalsection
Example to demonstrate race condition and how CriticalSectionLock API helps in resolving that.
Revision 1:bc165c6d4ed4, committed 2017-10-23
- Comitter:
- deepikabhavnani
- Date:
- Mon Oct 23 15:43:44 2017 +0000
- Parent:
- 0:36e8acd8e607
- Commit message:
- Updated readme
Changed in this revision
README.md | Show annotated file Show diff for this revision Revisions of this file |
--- a/README.md Fri Oct 20 19:50:07 2017 +0000 +++ b/README.md Mon Oct 23 15:43:44 2017 +0000 @@ -1,7 +1,7 @@ ### Getting started with the CriticalSectionLock API ### CriticalSectionLock Example -This application demonstrated simple race condition when multiple threads update +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.