Issue
"Monitors are language specific constructs" - What does this mean? Does this mean they are compiler/programming language dependent? If so,they can't be implemented in C right? I was asked to implement a monitor in C.Initially though of a monitor struct ..but as it cannot hold functions,it is of no use.Any ideas someone?
Thanks in advance
Solution
Some languages have built-in support for the synchronization primitive known as the monitor. Others don't. C does not. It may be implemented in C, but its implementation will ultimately depend on the CPU and/or the OS.
Answered By - Alexey Frunze Answer Checked By - Gilberto Lyons (WPSolving Admin)