RESTinio
|
Implementation of connection count limiter for single-threading mode. More...
#include <connection_count_limiter.hpp>
Private Types | |
using | base_t = connection_count_limits::impl::actual_limiter_t< null_mutex_t > |
Additional Inherited Members | |
![]() | |
actual_limiter_t (not_null_pointer_t< acceptor_callback_iface_t > acceptor, max_parallel_connections_t max_parallel_connections, max_active_accepts_t max_pending_indexes) | |
actual_limiter_t (const actual_limiter_t &)=delete | |
actual_limiter_t (actual_limiter_t &&)=delete | |
void | increment_parallel_connections () noexcept |
void | decrement_parallel_connections () noexcept |
void | accept_next (std::size_t index) noexcept |
Implementation of connection count limiter for single-threading mode.
In single-threading mode there is no need to protect limiter from access from different threads. So null_mutex_t is used.
Definition at line 322 of file connection_count_limiter.hpp.
|
private |
Definition at line 325 of file connection_count_limiter.hpp.