cppreference.com
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
View
Edit
History
Actions
atomic_fetch_sub, atomic_fetch_sub_explicit
From cppreference.com
<
c
|
atomic
C
Compiler support
Language
Headers
Type support
Program utilities
Variadic function support
Error handling
Dynamic memory management
Strings library
Algorithms
Numerics
Date and time utilities
Input/output support
Localization support
Concurrency support
(C11)
Technical Specifications
Symbol index
[edit]
Concurrency support library
Threads
thrd_create
thrd_equal
thrd_current
thrd_sleep
thrd_yield
thrd_exit
thrd_detach
thrd_join
thrd_success
thrd_timedout
thrd_busy
thrd_nomem
thrd_error
Atomic operations
atomic_init
ATOMIC_VAR_INIT
(until C23)
ATOMIC_***_LOCK_FREE
atomic_is_lock_free
atomic_store
atomic_load
atomic_exchange
atomic_compare_exchange
atomic_fetch_add
atomic_fetch_sub
atomic_fetch_or
atomic_fetch_xor
atomic_fetch_and
Atomic flags
atomic_flag
ATOMIC_FLAG_INIT
atomic_flag_test_and_set
atomic_flag_clear
Memory ordering
memory_order
kill_dependency
atomic_thread_fence
atomic_signal_fence
Mutual exclusion
mtx_init
mtx_lock
mtx_timedlock
mtx_trylock
call_once
mtx_unlock