NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
nstd::_lock_guard类 参考

#include <ne_stl_spinlock.h>

Public 成员函数

 _lock_guard (spinlock &lock)
 
 ~_lock_guard ()
 
_lock_guardoperator= (const _lock_guard &other)=delete
 

Private 属性

nstd::spinlocklock_
 

构造及析构函数说明

◆ _lock_guard()

nstd::_lock_guard::_lock_guard ( spinlock & lock)
inlineexplicit

◆ ~_lock_guard()

nstd::_lock_guard::~_lock_guard ( )
inline

成员函数说明

◆ operator=()

_lock_guard & nstd::_lock_guard::operator= ( const _lock_guard & other)
delete

类成员变量说明

◆ lock_

nstd::spinlock& nstd::_lock_guard::lock_
private

该类的文档由以下文件生成: