mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-28 02:43:08 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
712 B
712 B
Condition Variable
A condition variable allows threads to block and wait until a specific condition becomes true, then be woken by another thread. It is used alongside a mutex: one thread holds the mutex, checks a condition, waits on the variable if not met, and is signaled when another thread changes the state.
Visit the following resources to learn more: