जॉइन Examsbook
1125 0

प्र: How does thread synchronization occurs inside a monitor?

  • उत्तर देखें
  • Workspace

उत्तर :
व्याख्या :

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.

क्या आपको यकीन है

  त्रुटि की रिपोर्ट करें

कृपया संदेश दर्ज करें
त्रुटि रिपोर्ट सफलतापूर्वक जमा हुई