Join Examsbook
874 0

Q: How does thread synchronization occurs inside a monitor?

  • Show AnswerHide Answer
  • Workspace

Answer :
Explanation :

A Monitor defines a lock and condition variables for managing concurrent access to shared data. The monitor uses the lock to ensure that only a single thread inactive in the monitor code at any time. A monitor allows only one thread to lock an object at once.

Are you sure

  Report Error

Please Enter Message
Error Reported Successfully