I want to avoid data racing in a shared memory buffer between many processes.
Question: Is possible to share a std::mutex
in a linux or windows shared memory system to void data racing on this shared memory buffer between many processes? How can I achieve this?
I have the impression that I'll have data racing problems when doing the memcpy
of the mutex in the shared memory buffer...
Aucun commentaire:
Enregistrer un commentaire