-
Kunshan Wang authored
Documented the necessity of calling `wait` in a loop. We modified the example to demonstrate the idiomatic use, and added a third thread `a2` to demonstrate another reason that necessitates the loop. Mentioned spurious wake-up in the doc.
Kunshan Wang authoredDocumented the necessity of calling `wait` in a loop. We modified the example to demonstrate the idiomatic use, and added a third thread `a2` to demonstrate another reason that necessitates the loop. Mentioned spurious wake-up in the doc.
Loading