Home
last modified time | relevance | path

Searched refs:__shared_weak_owners_ (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/libcxx/src/
H A Dmemory.cpp49 void __shared_weak_count::__add_weak() noexcept { __libcpp_atomic_refcount_increment(__shared_weak_owners_); } in __add_shared()
79 if (__libcpp_atomic_load(&__shared_weak_owners_, _AO_Acquire) == 0) { in __release_shared()
82 //__libcpp_atomic_store(&__shared_weak_owners_, -1, _AO_Release);
84 } else if (__libcpp_atomic_refcount_decrement(__shared_weak_owners_) == -1) in __release_weak()
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dshared_ptr.h166 long __shared_weak_owners_; variable
171 __shared_weak_owners_(__refs) {} in __shared_count()
183 …FROM_ABI void __add_weak() _NOEXCEPT { __libcpp_atomic_refcount_increment(__shared_weak_owners_); }