libstdc++
GNU C++ library
Loading...
Searching...
No Matches

◆ __atomic_add_single()

void __gnu_cxx::__atomic_add_single ( _Atomic_word * __mem,
int __val )
inline

Definition at line 127 of file atomicity.h.

128 {
130 __u = *__mem;
131 __u += __val;
132 *__mem = __u;
133 }
#define _GLIBCXX_UNSIGNED_ATOMIC_WORD
Definition atomicity.h:104

References __atomic_add_single(), and _GLIBCXX_UNSIGNED_ATOMIC_WORD.

Referenced by __atomic_add_dispatch(), __atomic_add_single(), and std::_Sp_counted_base< _Lp >::_M_add_ref_copy().

Here is the call graph for this function:
Here is the caller graph for this function: