/mbed-os-snippet-CriticalSectionLock_ex_1

A mirrored example snippet from mbed-os-examples-docs_only

Primary LanguageC++

CriticalSectionLock example

This example shows how to use CriticalSection API to avoid race condition when multiple threads update global shared counter.

MIRRORED FROM MASTER EXAMPLE SNIPPETS REPOSITORY: mbed-os-examples-docs_only. ANY CHANGES MADE DIRECTLY TO THIS REPOSITORY WILL BE AUTOMATICALLY OVERWRITTEN.