Process Management & Synchronization

17:00

Question 1 of 17

A semaphore is a shared integer variable. What are the two atomic operations it uses for process synchronization? [GATE CS 2005]

read() and write()
fork() and exec()
wait() and signal()
open() and close()