NIM 跨平台 C++ SDK
|
#include "ne_stl_atomic.h"
#include "ne_stl_build.h"
#include "ne_stl_value_def.h"
#include <pthread.h>
类 | |
class | nstd::_spinlock |
class | nstd::_lock_guard |
命名空间 | |
namespace | nstd |
宏定义 | |
#define | NE_STL_SPINLOCK_USE_THRD_YIELD 1 |
#define | THRD_YIELD() pthread_yield_np() |
类型定义 | |
using | nstd::spinlock = _spinlock |
using | nstd::lock_guard = _lock_guard |
#define NE_STL_SPINLOCK_USE_THRD_YIELD 1 |
#define THRD_YIELD | ( | ) | pthread_yield_np() |