Contents

store(_:ordering:)

Atomically sets the current value to desired, applying the specified memory ordering.

Declaration

func store(_ desired: consuming Value, ordering: AtomicStoreOrdering)

Parameters

  • desired:

    The desired new value.

  • ordering:

    The memory ordering to apply on this operation.