RESTinio
|
Implementation of connection count limiter for multi-threading mode. More...
#include <connection_count_limiter.hpp>
Private Types | |
using | base_t = connection_count_limits::impl::actual_limiter_t< std::mutex > |
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 multi-threading mode.
In multi-threading mode std::mutex is used for the protection of limiter object.
Definition at line 341 of file connection_count_limiter.hpp.
|
private |
Definition at line 344 of file connection_count_limiter.hpp.