samedi 24 avril 2021

To make all threads coherent, Should I call atomic_thread_fence at all threads?

To make all threads coherent, Should I call atomic_thread_fence at all threads???

I'm making My own JobSystem.
I wanna all threads release their cache at a time. So i decided to use atomic_thread_fence.
But i have a question, Do I need to call atomic_thread_fence from all threads???

I'm on x64

Aucun commentaire:

Enregistrer un commentaire