Isn't it thread safe when only write and read int in critical section between threads? So What is the difference between atomic_int and int? Is 'int' not atomically?
Aucun commentaire:
Enregistrer un commentaire