atomicStore

Supported msync values: msync.raw, msync.ssb, msync.acq, msync.rel, msync.seq

  1. void atomicStore(T val, T newval)
    template atomicStore(msync ms, T)
    version(TangoDoc)
    deprecated
    void
    atomicStore
    (
    ref T val
    ,)
  2. template atomicStore(msync ms = msync.seq, T)
  3. template atomicStore(msync ms = msync.seq, T)
  4. template atomicStore(msync ms = msync.seq, T)

Members

Functions

atomicStore
deprecated void atomicStore(T val, T newval)

Stores 'newval' to the memory referenced by 'val'. This operation is both lock-free and atomic.

Meta