You are viewing documentation for a previous version of this software.

Switch to the latest stable version.

Atomic


EXTENSION

Atomic

Swift
1public extension Atomic where T == Int

Methods

increment()

Swift
1func increment() -> T

Increments in a lock-compatible fashion

Feedback

Edit on GitHub

Forums