What is semaphore OS?

Việt Quân

New member
What is semaphore OS?
Answer
Semaphores are
integer variables that are used to solve the critical section problem by using two atomic operations, wait and signal that are used for process synchronization. The definitions of wait and signal are as follows − Wait. The wait operation decrements the value of its argument S, if it is positive.
 

Tìm kiếm

Back
Top