Async++ unknown
Async (co_await/co_return) code for C++
|
Thread unsafe refcount policy. More...
#include <asyncpp/ref.h>
Public Member Functions | |
constexpr | thread_unsafe_refcount (size_t init_val=0) noexcept |
thread_unsafe_refcount (const thread_unsafe_refcount &other)=delete | |
thread_unsafe_refcount & | operator= (const thread_unsafe_refcount &other)=delete |
size_t | fetch_increment () noexcept |
size_t | fetch_decrement () noexcept |
size_t | count () const noexcept |
Public Attributes | |
size_t | m_count |
Thread unsafe refcount policy.