Contents

load(ordering:)

Atomically loads and returns the current value, applying the specified memory ordering.

Declaration

func load(ordering: AtomicLoadOrdering) -> Value

Parameters

  • ordering:

    The memory ordering to apply on this operation.

Return Value

The current value.