Operating Systems: Three Easy Pieces [Concurrency Ch.5: Condition Variables]
Condition variables
A condition variable is an explicit
queue that threads can put themselves on when some state of execution
(i.e., some condition) is not as desired (by waiting on the condition);
some other thread, when it changes said state, can t...
3omar.hashnode.dev10 min read