mercredi 4 juillet 2018

What is memory order and what are memory fences? How does it affect multi threading?

I got interested in learning about lock free data structures and lock free algorithms. And these terms often pop up, but i understand these very vaguely. Could someone please relate these with inter thread synchronization and explain in more layman like terms? Also how does C++11 memory model tackle memory ordering and what problems does that solve in the world of fast multi-threaded code?

Aucun commentaire:

Enregistrer un commentaire