c:c_threads:protect_shared_data_or_shared_resources_with_a_mutex
This is an old revision of the document!
C - C++ Threads - Protect shared data or shared resources with a mutex
In a multithreaded environment, more than one thread is often competing for a resource or shared data.
This often results in undefined behavior for the resource or data , unless the resource or data is protected using some mechanics that only allows ONE thread to act on it at a time.
c/c_threads/protect_shared_data_or_shared_resources_with_a_mutex.1623144518.txt.gz ยท Last modified: 2021/06/08 09:28 by peter