CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Private 成员函数 | Private 属性 | 静态 Private 属性 | 所有成员列表
moodycamel::FreeList< N > 模板结构体 参考
+ moodycamel::FreeList< N > 的协作图:

Public 成员函数

void add (N *node)
 
 FreeList ()
 
 FreeList (FreeList &&other)
 
 FreeList (FreeList const &) MOODYCAMEL_DELETE_FUNCTION
 
N * head_unsafe () const
 
FreeListoperator= (FreeList const &) MOODYCAMEL_DELETE_FUNCTION
 
void swap (FreeList &other)
 
N * try_get ()
 

Private 成员函数

void add_knowing_refcount_is_zero (N *node)
 

Private 属性

std::atomic< N * > freeListHead
 

静态 Private 属性

static const std::uint32_t REFS_MASK = 0x7FFFFFFF
 
static const std::uint32_t SHOULD_BE_ON_FREELIST = 0x80000000
 

详细描述

template<typename N>
struct moodycamel::FreeList< N >

在文件 ConcurrentQueue.h1492 行定义.

构造及析构函数说明

◆ FreeList() [1/3]

template<typename N >
moodycamel::FreeList< N >::FreeList ( )
inline

在文件 ConcurrentQueue.h1494 行定义.

◆ FreeList() [2/3]

template<typename N >
moodycamel::FreeList< N >::FreeList ( FreeList< N > && other)
inline

在文件 ConcurrentQueue.h1495 行定义.

◆ FreeList() [3/3]

template<typename N >
moodycamel::FreeList< N >::FreeList ( FreeList< N > const & )

成员函数说明

◆ add()

template<typename N >
void moodycamel::FreeList< N >::add ( N * node)
inline

在文件 ConcurrentQueue.h1501 行定义.

◆ add_knowing_refcount_is_zero()

template<typename N >
void moodycamel::FreeList< N >::add_knowing_refcount_is_zero ( N * node)
inlineprivate

在文件 ConcurrentQueue.h1556 行定义.

被这些函数引用 operator=().

+ 这是这个函数的调用关系图:

◆ head_unsafe()

template<typename N >
N * moodycamel::FreeList< N >::head_unsafe ( ) const
inline

在文件 ConcurrentQueue.h1553 行定义.

引用了 moodycamel::FreeList< N >::freeListHead.

◆ operator=()

template<typename N >
FreeList & moodycamel::FreeList< N >::operator= ( FreeList< N > const & )

◆ swap()

template<typename N >
void moodycamel::FreeList< N >::swap ( FreeList< N > & other)
inline

在文件 ConcurrentQueue.h1496 行定义.

引用了 moodycamel::FreeList< N >::freeListHead , 以及 moodycamel::details::swap_relaxed().

+ 函数调用图:

◆ try_get()

template<typename N >
N * moodycamel::FreeList< N >::try_get ( )
inline

类成员变量说明

◆ freeListHead

template<typename N >
std::atomic<N*> moodycamel::FreeList< N >::freeListHead
private

◆ REFS_MASK

template<typename N >
const std::uint32_t moodycamel::FreeList< N >::REFS_MASK = 0x7FFFFFFF
staticprivate

在文件 ConcurrentQueue.h1583 行定义.

被这些函数引用 moodycamel::FreeList< N >::try_get().

◆ SHOULD_BE_ON_FREELIST

template<typename N >
const std::uint32_t moodycamel::FreeList< N >::SHOULD_BE_ON_FREELIST = 0x80000000
staticprivate

在文件 ConcurrentQueue.h1584 行定义.

被这些函数引用 swap_internal() , 以及 moodycamel::FreeList< N >::try_get().


该结构体的文档由以下文件生成: