Explain the term condition variable

Briefly explain the term condition variable?

E

Expert

Verified

- These are synchronization objects that assist threads wait for specific conditions to takes place.

- Without condition variable, the thread has to constantly check the condition that is extremely costly on the resources.

- Condition variable permits the thread to sleep and wait for the condition variable to provide it a signal.

   Related Questions in Operating System

©TutorsGlobe All rights reserved 2022-2023.