|
SObjectizer 5.8
|
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 | |
| namespace | so_5 |
| Private part of message limit implementation. | |
Typedefs | |
| using | so_5::default_spinlock_t = spinlock_t< pause_backoff_t > |
| using | so_5::default_rw_spinlock_t = rw_spinlock_t< pause_backoff_t > |