1. A programming construct or synchronization mechanism that causes a thread or process to pause execution until a specific condition is met or a signal is received
The thread enters a conditional wait state until the data becomes available.
A thread entra em um estado de espera condicional até que os dados fiquem disponíveis.
2. In concurrent programming, a technique for coordinating multiple threads where one thread waits for another to fulfill a certain condition before proceeding
Using a conditional wait prevents busy-waiting and improves system efficiency.
Usar uma espera condicional evita a espera ativa e melhora a eficiência do sistema.