Start learning 50% faster. Sign in now
Semaphores are primarily used for synchronization between processes or threads rather than for communication. They act as signaling mechanisms to control access to shared resources and help avoid race conditions. In contrast, IPC mechanisms like pipes, shared memory, message queues, and sockets are explicitly designed to facilitate communication between processes. These methods allow data to be passed between processes running on the same machine or even across different machines in the case of network communication. Why other options are wrong: A) Pipes are a traditional IPC method used for one-way communication between processes. B) Shared Memory is a highly efficient IPC method that allows processes to access common memory regions. C) Message Queues allow processes to send and receive messages in a queue, facilitating communication. D) Sockets enable communication between processes over networks, including TCP/IP communication.
Which book was published on 23rd January 2021 marking the 125th birth anniversary of Netaji Subhash Chandra Bose?
Who founded the city of Lucknow?
Turtle Rehabiliation Scheme was implemented in 1987, under which of the following plans ............... .
Which of the following banks has been recognized as the ‘World Best SME Bank’ for the second time by Euromoney?
Which of the following terrains is known as older alluvial deposits?
G Shivarama Krishnamurthy recently died. He was a/an____?
Which Uttar Pradesh city is famous for its carpet industry?
The 'Wihu Kuh festival' is celebrated by which tribe in Arunachal Pradesh?
In which state the World’s first Palm Leaf Manuscript Museum was inaugurated in January 2023?
Who has been roped as the new Controller General of Accounts?