OSG202Xuất hiện trong 1 đề thi
What happens when a thread calls Down (S) when it wants to enter its critical section, where S is a binary semaphore set to 1?
Các lựa chọn
AThe thread is allowed to enter its critical section and S is decremented.
BThe thread is blocked and added to a queue of waiting threads.
CThe semaphore is set to 2.
DNone of the other choices