Skip to content

Would you tell me why you use notify_one instead of notify_all here? #26

Description

@CoinCheung

m_conditional_lock.notify_one();

I am reading the code and try to learn from it, and I am puzzled that you use notify_one in this line rather than notify_all, would you please tell me why notify_one is better here ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions