I seem to remember the rationale for not adding semaphores to C++11 being that they are too easy to use incorrectly and the programmers are better to use mutexes and condition variables.
If that's so, what is the rationale for finally adding the semaphore to C++20?
Aucun commentaire:
Enregistrer un commentaire