Embedded Linux: Synchronization Primitives in Linux – Semaphores and Mutexes

Concurrency is one of the most important concepts which can lead to errors in a system that are hard to find. With the inherent support for SMP and preemptive scheduling in Linux, concurrency is a critical factor which has to be considered while designing kernel modules or device drivers. Avoiding race conditions can be a difficult task. Linux, as in any other OS, provides many synchronization primitives to manage concurrency. Semaphores and Mutexes are part of them.

Embedded Linux: Synchronization Primitives in Linux – Semaphores and Mutexes

Blogged with the Flock Browser

About the Author

Yogi

24 years of experience in various layers of software. Primarily experienced in system side software design and development on server management software. Interested in linux development in x86 and arm architecture.