Reputation: 22623
I'm referring to monitors as described here:
http://en.wikipedia.org/wiki/Monitor_(synchronization)
None of the definitions here seem apropos:
http://www.thefreedictionary.com/monitor
So why are they called that?
== Update ==
Thank you for the answers, everyone!
I guess I was confused because I don't think of monitors usually as acting on themselves, which is what seems to be happening here. For example, you use a baby monitor to monitor a baby. I just don't think it would make much sense for a baby to monitor itself, but I could be wrong.
Upvotes: 3
Views: 515
Reputation: 25657
According to P. Brinch Hansen in Monitors and Concurrent Pascal: A personal history, the name originated from the original term for an operating system in the 60's and early 70's:
In the 1960s the resident part of an operating system was often known as a monitor. The kernel of the RC 4000 multiprogramming system was called the monitor and was defined as a program that "can execute a sequence of instructions as an indivisible entity" (Brinch Hansen 1969).
Upvotes: 6
Reputation: 754710
I think a monitor monitors (and controls) access to a resource.
Of the definitions at The Free Dictionary for Monitor:
Definitions 3A and 4 for noun apply, more or less (a monitor is not a program but a program component).
Definitions 1, 2, 5 from the 'verb, transitive' section could also be said to apply.
Upvotes: 2
Reputation: 273581
I think that definition 3a (from the dictionary) comes close
3a. A usually electronic device used to record, regulate, or control a process or system
Upvotes: 2
Reputation: 95654
Take producer consumer problem for example. Without using a monitor, you'd have to constantly check whether the queue is 1) full or not and 2) empty or not by writing busy loop. In effect, the monitor monitors the state for you by transferring the control atomically.
Upvotes: 3