rust/src/libcore/sync
Jon Gjengset 368d56010a
Rename compiler_barrier to compiler_fence
This addresses concerns raised following the merge of #41092.
Specifically:

> The naming of these seems surprising: the multithreaded functions (and
> both the single and multithreaded intrinsics themselves) are fences,
> but this is a barrier. It's not incorrect, but the latter is both
> inconsistent with the existing functions and slightly confusing with
> another type in std (e.g., `Barrier`).

`compiler_fence` carries the same semantic implication that this is a
compiler-only operation, while being more in line with the fence/barrier
concepts already in use in `std`.
2017-04-13 10:27:52 -04:00
..
atomic.rs Rename compiler_barrier to compiler_fence 2017-04-13 10:27:52 -04:00
mod.rs core: Move atomic into a new sync module 2015-08-17 14:03:32 -07:00