What is the correct order of operations for protecting a critica

分类: OS 发布时间: 2023-11-15 03:41 浏览量: 0

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