retagged by
2,002 views
1 1 vote

Monitor is an Interprocess Communication $(IPC)$ technique which can be described as 

  1. It is higher level synchronization primitive and is a collection of procedures, variables, and data structures grouped together in a special package.
  2. It is a non-negative integer which apart from initialization can be acted upon by wait and signal operations.
  3. It uses two primitives, send and receive which are system calls rather than language constructs.
  4. It consists of the $IPC$ primitives implemented as system calls to block the process when they are not allowed to enter critical region to save $CPU$ time. 

1 Answer

0 0 votes
A. Is ans

monitor is a thread-safe class, object, or module that uses wrapped mutual exclusion in order to safely allow access to a method or variable by more than one thread. The defining characteristic of a monitor is that its methods are executed with mutual exclusion: At each point in time, at most one thread may be executing any of its methods. Using a condition variable(s), it can also provide the ability for threads to wait on a certain condition (thus using the above definition of a "monitor"). For the rest of this article, this sense of "monitor" will be referred to as a "thread-safe object/class/module".

Reference ...wikipedia
Answer:
Position:
Show:

Related questions

2 2 votes
1 1 answer
2.1k
2.1k views
Misbah Ghaya asked Aug 2, 2016
2,074 views
Which of the following versions of Windows O.S. contain built-in partition manager which allows us to shrink and expand pre-defined drives ?Windows Vista Windows $2000$Wi...
3 3 votes
1 answers 1 answer
3.5k
3.5k views
Misbah Ghaya asked Jul 30, 2016
3,523 views
An operating system has $13$ tape drives. There are three processes $P1, P2$ & $P3$. Maximum requirement of $P1$ is $11$ tape drives, $P2$ is $5$ tape drives and $P3$ is ...
2 2 votes
1 answers 1 answer
4.0k
4.0k views
Misbah Ghaya asked Jul 30, 2016
4,021 views
Consider an imaginary disk with $40$ cylinders. A request come to read a block on cylinder $11$. While the seek to cylinder $11$ is in progress, new requests come in for ...
5 5 votes
3 3 answers
7.1k
7.1k views
Misbah Ghaya asked Jul 29, 2016
7,149 views
How many disk blocks are required to keep list of free disk blocks in a $16$ GB hard disk with $1$ kB block size using linked list of free disk blocks ? Assume that the d...