Toolbox snapshot
The Reactive C++ Toolbox
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | List of all members
toolbox::util::ThreadUnsafePolicy Struct Reference

#include <toolbox/util/RefCount.hpp>

Public Types

using Type = int
 

Static Public Member Functions

static void acquire () noexcept
 
static int fetch_add (Type &ref_count) noexcept
 
static int fetch_sub (Type &ref_count) noexcept
 
static int load (Type ref_count) noexcept
 

Detailed Description

Definition at line 44 of file RefCount.hpp.

Member Typedef Documentation

◆ Type

Definition at line 45 of file RefCount.hpp.

Member Function Documentation

◆ acquire()

static void toolbox::util::ThreadUnsafePolicy::acquire ( )
inlinestaticnoexcept

Definition at line 46 of file RefCount.hpp.

◆ fetch_add()

static int toolbox::util::ThreadUnsafePolicy::fetch_add ( Type ref_count)
inlinestaticnoexcept

Definition at line 47 of file RefCount.hpp.

◆ fetch_sub()

static int toolbox::util::ThreadUnsafePolicy::fetch_sub ( Type ref_count)
inlinestaticnoexcept

Definition at line 52 of file RefCount.hpp.

◆ load()

static int toolbox::util::ThreadUnsafePolicy::load ( Type  ref_count)
inlinestaticnoexcept

Definition at line 56 of file RefCount.hpp.


The documentation for this struct was generated from the following file: