Currently I'm using task based scheduling to ensure "thread safe" shared ptr setting/getting, but that is insanely inefficient.
How would one implement atomic shared ptrs using C++11? Can we just use the std::atomic> template?
Aucun commentaire:
Enregistrer un commentaire