lundi 13 juin 2022

c++11 std::notify_all and spurious wakeup

with c++11. As std::notify_all would cause spurious wakeup, then why std::notify_all is remained but not std::notify_one all the time? And could std::notify_one cause spurious wakeup by the way?

Aucun commentaire:

Enregistrer un commentaire