Example 1: Counting Semaphore. Let capacity of critical section is 3 i.e. S.value = 3 (four process can enter Critical Section).
確定! 回上一頁