|
SObjectizer
5.8
|
Various stuff related to MPMC event queue implementation and tuning. More...
Namespaces | |
| namespace | combined_lock |
| Implementation of combined lock for MPMC event queue. | |
| namespace | simple_lock |
| Implementation of simple lock for MPMC event queue. | |
Classes | |
| class | condition_t |
| An interface for somethine like condition variable for waiting on MPMC queue lock. More... | |
| class | lock_t |
| An interface for lock for MPMC queue. More... | |
| class | queue_params_t |
| Container for storing parameters for MPMC queue. More... | |
Typedefs | |
| using | condition_unique_ptr_t = std::unique_ptr< condition_t > |
| Alias of unique_ptr for condition. | |
Functions | |
| std::chrono::high_resolution_clock::duration | default_combined_lock_waiting_time () |
| Default timeout used by combined_lock for waiting on spinlock before switching to mutex-based locking scheme. | |
| SO_5_FUNC lock_factory_t | combined_lock_factory (std::chrono::high_resolution_clock::duration waiting_time) |
| Factory for creation of combined queue lock with the specified waiting time. | |
| lock_factory_t | combined_lock_factory () |
| Factory for creation of combined queue lock with default waiting time. | |
| SO_5_FUNC lock_factory_t | simple_lock_factory () |
| Factory for creation of very simple implementation based on usage of mutex and condition_variable only. | |
Various stuff related to MPMC event queue implementation and tuning.
| using so_5::disp::mpmc_queue_traits::condition_unique_ptr_t = std::unique_ptr< condition_t > |
Alias of unique_ptr for condition.
Definition at line 76 of file mpmc_queue_traits/pub.hpp.
|
inline |
Factory for creation of combined queue lock with default waiting time.
Definition at line 195 of file mpmc_queue_traits/pub.hpp.
| SO_5_FUNC lock_factory_t so_5::disp::mpmc_queue_traits::combined_lock_factory | ( | std::chrono::high_resolution_clock::duration | waiting_time | ) |
Factory for creation of combined queue lock with the specified waiting time.
| waiting_time | Max waiting time for waiting on spinlock before switching to mutex. |
Definition at line 274 of file mpmc_queue_traits/pub.cpp.
|
inline |
Default timeout used by combined_lock for waiting on spinlock before switching to mutex-based locking scheme.
Definition at line 140 of file mpmc_queue_traits/pub.hpp.
| SO_5_FUNC lock_factory_t so_5::disp::mpmc_queue_traits::simple_lock_factory | ( | ) |
Factory for creation of very simple implementation based on usage of mutex and condition_variable only.
Definition at line 287 of file mpmc_queue_traits/pub.cpp.