Which one of the following is a synchronization tool?
A. thread
B. pipe
C. semaphore
D. socket
查看答案
Mutual exclusion can be provided by the __________
A. mutex locks
B. binary semaphores
C. both mutex locks and binary semaphores
D. none of the mentioned
Process synchronization can be done on __________
A. hardware level
B. software level
C. both hardware and software level
D. none of the mentioned
A monitor is a module that encapsulates __________
A. shared data structures
B. procedures that operate on shared data structure
C. synchronization between concurrent procedure invocation
D. all of the mentioned
To enable a process to wait within the monitor __________
A. a condition variable must be declared as condition
B. condition variables must be used as boolean objects
C. semaphore must be used
D. all of the mentioned