Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

Atomic<T>.increment¶

Description¶

Atomically increments the stored value and returns the original stored value.

Signature¶

T Atomic<T>.increment(MemoryOrder order)
    where T : IBitAtomicable;

Parameters¶

order : MemoryOrder = MemoryOrder.Relaxed¶

On this page
  • Atomic<T>.increment
    • Description
    • Signature
    • Parameters
      • order : MemoryOrder = MemoryOrder.Relaxed