mercredi 25 novembre 2020

For which stdlib implementations is std::rand thread safe?

According to cppreference,

It is implementation-defined whether rand() is thread-safe.

Which, if any, major implementations of std::rand are thread safe?




Aucun commentaire:

Enregistrer un commentaire