This two-part series addresses the use and misuse of two of the most essential synchronization primitives in modern embedded systems, the mutex (this part) and the semaphore (part 2). Mutexes and ...
Take advantage of the Mutex class to synchronize threads in different processes and the Semaphore class to limit the number of threads that can access a shared resource. Thread synchronization is used ...