gvisor/pkg/atomicbitops
gVisor bot 906eb6295d atomicbitops package cleanups
- Redocument memory ordering from "no ordering" to "acquire-release". (No
  functional change: both LOCK WHATEVER on x86, and LDAXR/STLXR loops on ARM64,
  already have this property.)

- Remove IncUnlessZeroInt32 and DecUnlessOneInt32, which were only faster than
  the equivalent loops using sync/atomic before the Go compiler inlined
  non-unsafe.Pointer atomics many releases ago.

PiperOrigin-RevId: 295811743
2020-02-18 13:43:28 -08:00
..
BUILD atomicbitops package cleanups 2020-02-18 13:43:28 -08:00
atomicbitops.go atomicbitops package cleanups 2020-02-18 13:43:28 -08:00
atomicbitops_amd64.s atomicbitops package cleanups 2020-02-18 13:43:28 -08:00
atomicbitops_arm64.s atomicbitops package cleanups 2020-02-18 13:43:28 -08:00
atomicbitops_noasm.go atomicbitops package cleanups 2020-02-18 13:43:28 -08:00
atomicbitops_test.go atomicbitops package cleanups 2020-02-18 13:43:28 -08:00