In this article we discuss semaphores and how they are used for communication between processes in Linux.
Table of contents.Introduction.Allocating and deallocating semaphores.Semaphore initialization.Wait and post operations.Summary.References.Prerequisites.
Shared memoryLinux threads synchronizationIntroduction.
IPC(Interprocess communication) is the transfer of data between processes.
Other than semaphores we have other types of interprocess communication namely,
Shared memory, ...
Published on February 07, 2022 23:27