From: Alex Crichton Date: Wed, 29 Apr 2015 22:45:45 +0000 (-0700) Subject: rollup merge of #24908: inrustwetrust/once_memory_ordering X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=0eaa811f4c66f933d40cf360bb7ffbc3eadeeaad;p=rust.git rollup merge of #24908: inrustwetrust/once_memory_ordering `call_once` guarantees that there is a happens-before relationship between its closure and code following it via the sequentially consistent atomic store/loads of `self.cnt`. --- 0eaa811f4c66f933d40cf360bb7ffbc3eadeeaad