Compare and contrast the use of monitors and semaphore operations.

What will be an ideal response?

Monitors use the important system structuring technique of information hiding; clients of a monitor cannot directly access its variables, nor can clients access the internal monitor procedures. The client’s view of the monitor is simply that of an abstract object. Semaphores are a much lower level means of enforcing thread synchronization and mutual exclusion. In fact, monitors can be constructed with semaphores, thus they are at least as powerful as semaphores.

Computer Science & Information Technology

You might also like to view...

When you apply a theme it is automatically applied to only the current slide that you have selected

Indicate whether the statement is true or false

Computer Science & Information Technology

A bit field must be declared as a:

a. int or unsigned. b. char. c. float. d. long.

Computer Science & Information Technology