libcopp 2.3.1
|
自旋锁 Licensed under the MIT licenses. More...
Go to the source code of this file.
Data Structures | |
class | util::lock::spin_lock |
自旋锁 More... | |
Namespaces | |
namespace | util |
namespace | util::lock |
Macros | |
#define | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_PAUSE() |
#define | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_CPU_YIELD() __LIBCOPP_UTIL_LOCK_SPIN_LOCK_PAUSE() |
#define | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_THREAD_YIELD() |
#define | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_THREAD_SLEEP() __LIBCOPP_UTIL_LOCK_SPIN_LOCK_CPU_YIELD() |
#define | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_WAIT(x) |
自旋锁 Licensed under the MIT licenses.
@history 2013-12-20
Definition in file spin_lock.h.
#define __LIBCOPP_UTIL_LOCK_SPIN_LOCK_CPU_YIELD | ( | ) | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_PAUSE() |
#define __LIBCOPP_UTIL_LOCK_SPIN_LOCK_PAUSE | ( | ) |
#define __LIBCOPP_UTIL_LOCK_SPIN_LOCK_THREAD_SLEEP | ( | ) | __LIBCOPP_UTIL_LOCK_SPIN_LOCK_CPU_YIELD() |
Definition at line 159 of file spin_lock.h.
#define __LIBCOPP_UTIL_LOCK_SPIN_LOCK_THREAD_YIELD | ( | ) |
#define __LIBCOPP_UTIL_LOCK_SPIN_LOCK_WAIT | ( | x | ) |
Definition at line 174 of file spin_lock.h.