TIL: A "roach motel" optimization is moving a memory read forward across a lock, or backwards across an unlock.https://twitter.com/xlerb/status/642839646225850373 …
@jimblandy The trivial solution nobody wants to hear: redefine all the orders to be aliases for seq_cst.
-
-
@RichFelker Don't you leave perf on the table? I don't need seq_cst all the time.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.