So, whenever someone asks on @handmade_hero why I don't use C++'s atomics, I can just cut-and-paste this link:https://stoyannk.wordpress.com/2016/04/30/msvc-mutex-is-slower-than-you-might-expect/ …
@cmuratori @jhaberstro @handmade_hero Because you wouldn't ever hit the CFG slow path until you were already going to go to sleep anyway.
-
-
@cmuratori@jhaberstro@handmade_hero So it's still the CRT's fault regardless. -
@cmuratori@handmade_hero Heh, fair enough. Just thought it curious that you mentioned std::atomic, but the post was about std::mutex. - Show replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.