---
title: acquiringAndReleasing
framework: synchronization
role: symbol
role_heading: Type Property
path: synchronization/atomicupdateordering/acquiringandreleasing
---

# acquiringAndReleasing

An acquiring-and-releasing operation is a combination of .acquiring and .releasing operation on the same variable.

## Declaration

```swift
static var acquiringAndReleasing: AtomicUpdateOrdering { get }
```

## Discussion

Discussion This value corresponds to std::memory_order_acq_rel in C++.
