Would it be thread safe to call a method from a global instance of a class?
Or would the object also have to be locked?
The idea is to make a wrapper class to protect some resources with a mutex and have the class manage it, along with some other operations on the data.
Aucun commentaire:
Enregistrer un commentaire