libcopp
1.1.0
|
整数类型的原子操作跨平台适配 Licensed under the MIT licenses. More...
#include <cstddef>
#include <libcopp/utils/config/compiler_features.h>
#include <libcopp/utils/features.h>
Go to the source code of this file.
Data Structures | |
class | util::lock::atomic_int_type< Ty > |
struct | util::lock::unsafe_int_type< Ty > |
class | util::lock::atomic_int_type< unsafe_int_type< Ty > > |
Namespaces | |
util | |
util::lock | |
Macros | |
#define | UTIL_LOCK_ATOMIC_THREAD_FENCE(x) |
#define | UTIL_LOCK_ATOMIC_SIGNAL_FENCE(x) |
整数类型的原子操作跨平台适配 Licensed under the MIT licenses.
2016-06-14
Definition in file atomic_int_type.h.
#define UTIL_LOCK_ATOMIC_SIGNAL_FENCE | ( | x | ) |
Definition at line 295 of file atomic_int_type.h.
#define UTIL_LOCK_ATOMIC_THREAD_FENCE | ( | x | ) |
Definition at line 291 of file atomic_int_type.h.
Referenced by copp::stack_pool< TAlloc >::clear(), and copp::stack_pool< TAlloc >::gc().