Files
2025-10-25 03:02:53 +03:00

1.2 KiB

[atomics.alias]

32 Concurrency support library [thread]

32.5 Atomic operations [atomics]

32.5.3 Type aliases [atomics.alias]

1

#

The type aliases atomic_intN_t, atomic_uintN_t,atomic_intptr_t, and atomic_uintptr_t are defined if and only ifintN_t, uintN_t,intptr_t, and uintptr_t are defined, respectively.

2

#

The type aliasesatomic_signed_lock_free and atomic_unsigned_lock_free name specializations of atomic whose template arguments are integral types, respectively signed and unsigned, and whose is_always_lock_free property is true.

[Note 1:

These aliases are optional in freestanding implementations ([compliance]).

— end note]

Implementations should choose for these aliases the integral specializations of atomic for which the atomic waiting and notifying operations ([atomics.wait]) are most efficient.