SObjectizer
5.5
|
Definition of various types of spinlocks. More...
#include <atomic>
#include <thread>
#include <cstdint>
Go to the source code of this file.
Classes | |
class | so_5::yield_backoff_t |
An implementation of backoff object with usage of std::yield. More... | |
class | so_5::pause_backoff_t |
An implementation of backoff object using assembly instruction. More... | |
class | so_5::spinlock_t< Backoff > |
A simple spinlock (analog of std::mutex). More... | |
class | so_5::rw_spinlock_t< Backoff > |
A simple multi-readers/single-writer spinlock (analog of std::shared_mutex). More... | |
class | so_5::read_lock_guard_t< Lock > |
Scoped guard for shared locks. More... | |
Namespaces | |
so_5 | |
Public part of message limit implementation. | |
Typedefs | |
typedef spinlock_t< pause_backoff_t > | so_5::default_spinlock_t |
typedef rw_spinlock_t< pause_backoff_t > | so_5::default_rw_spinlock_t |
Definition of various types of spinlocks.