Home | History | Annotate | Download | only in tr1

Lines Matching refs:_M_use_count

113       : _M_use_count(1), _M_weak_count(1) { }
119 // Called when _M_use_count drops to zero, to release the resources
134 { __gnu_cxx::__atomic_add_dispatch(&_M_use_count, 1); }
143 _GLIBCXX_SYNCHRONIZATION_HAPPENS_BEFORE(&_M_use_count);
144 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, -1) == 1)
146 _GLIBCXX_SYNCHRONIZATION_HAPPENS_AFTER(&_M_use_count);
197 return const_cast<const volatile _Atomic_word&>(_M_use_count);
204 _Atomic_word _M_use_count; // #shared
213 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
215 _M_use_count = 0;
226 if (__gnu_cxx::__exchange_and_add_dispatch(&_M_use_count, 1) == 0)
228 _M_use_count = 0;
242 __count = _M_use_count;
249 while (!__sync_bool_compare_and_swap(&_M_use_count, __count,