What is the correct order of operations for protecting a critical section using mutex locks?
A.release() followed by acquire()
B.acquire() followed by release()
C.wait() followed by signal()
D.signal() followed by wait()
正确答案是B
What is the correct order of operations for protecting a critical section using mutex locks?
A.release() followed by acquire()
B.acquire() followed by release()
C.wait() followed by signal()
D.signal() followed by wait()
正确答案是B