Skip to content
  • Kunshan Wang's avatar
    ce1dfe81
    [DOC] Doc for Thread::ConditionVariable · ce1dfe81
    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.
    ce1dfe81
    [DOC] Doc for Thread::ConditionVariable
    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.
Loading