#include <array>
#include <atomic>
#include <cassert>
#include <cstdint>
#include <mutex>
#include <type_traits>
#include <folly/Portability.h>
#include <folly/lang/Align.h>
#include <folly/synchronization/detail/Sleeper.h>
Go to the source code of this file.
|
| folly |
| —— Concurrent Priority Queue Implementation ——
|
|
#define FOLLY_CACHE_LINE_SIZE 64 |
Array of spinlocks where each one is padded to prevent false sharing. Useful for shard-based locking implementations in environments where contention is unlikely.
Definition at line 122 of file MicroSpinLock.h.