mardi 24 novembre 2015

Is it safe to mix boost locks and std locks?

Is there any gotchas to use Boost mutex with C++11 std locks or the opposite?

For instance, can I lock a boost::shared_mutex with std::unique_lock. Is it safe to do so?

Aucun commentaire:

Enregistrer un commentaire