Why don't compilers merge redundant std::atomic writes? – stackoverflow.com 07:34 Posted by Unknown No Comments I'm wondering why no compilers are prepared to merge consecutive writes of the same value to a single atomic variable, e.g.: #include <atomic> std::atomic<int> y(0); void f() { auto ... from Hot Questions - Stack Exchange OnStackOverflow via Blogspot Share this Google Facebook Twitter More Digg Linkedin Stumbleupon Delicious Tumblr BufferApp Pocket Evernote Unknown Artikel TerkaitA simple program with trains and inheritance – codereview.stackexchange.comWhy do music teachers often emphasize reading sheet music and not listening? – music.stackexchange.comThe gun which makes no sound – worldbuilding.stackexchange.comAnagrams all over this place – puzzling.stackexchange.comWhen counting in, why do people often do it at two speeds? (1_2_1234) – music.stackexchange.comSolve a trigonometric equation – math.stackexchange.com
0 Comment to "Why don't compilers merge redundant std::atomic writes? – stackoverflow.com"
Post a Comment