User Tools

Site Tools


c:c_threads:protected_access_to_shared_data_or_shared_resources:mutex

C - C++ Threads - Protected access to shared data or shared resources - Mutex

The classical way to protect access to a variable is using a mutex.

NOTE: This is known to have much overhead.


Basic Example

Class Example


c/c_threads/protected_access_to_shared_data_or_shared_resources/mutex.txt · Last modified: 2021/06/08 09:34 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki