MySQL 9.1.0
Source Code Documentation
|
Classes | |
class | pending_timer |
class | pending_timer_op |
Public Types | |
using | key_type = timer_queue |
Public Member Functions | |
timer_queue (execution_context &ctx) | |
void | shutdown () noexcept override |
io_context & | context () noexcept |
template<class Op > | |
void | push (const Timer &timer, Op &&op) |
std::chrono::milliseconds | next () const override |
bool | run_one () override |
size_t | cancel (const Timer &t) |
Public Attributes | |
std::list< std::unique_ptr< pending_timer > > | cancelled_timers_ |
std::multimap< typename Timer::time_point, typename Timer::Id * > | pending_timer_expiries_ |
std::multimap< typename Timer::Id *, std::unique_ptr< pending_timer > > | pending_timers_ |
Additional Inherited Members | |
Protected Member Functions inherited from net::io_context::timer_queue_base | |
timer_queue_base (execution_context &ctx) | |
Protected Member Functions inherited from net::execution_context::service | |
service (execution_context &owner) | |
service (const service &)=delete | |
service & | operator= (const service &)=delete |
virtual | ~service ()=default |
execution_context & | context () noexcept |
Protected Attributes inherited from net::io_context::timer_queue_base | |
std::mutex | queue_mtx_ |
using net::io_context::timer_queue< Timer >::key_type = timer_queue |
|
inlineexplicit |
|
inline |
|
inlinenoexcept |
|
inlineoverridevirtual |
Implements net::io_context::timer_queue_base.
|
inline |
|
inlineoverridevirtual |
Implements net::io_context::timer_queue_base.
|
inlineoverridevirtualnoexcept |
Implements net::execution_context::service.
std::list<std::unique_ptr<pending_timer> > net::io_context::timer_queue< Timer >::cancelled_timers_ |
std::multimap<typename Timer::time_point, typename Timer::Id *> net::io_context::timer_queue< Timer >::pending_timer_expiries_ |
std::multimap<typename Timer::Id *, std::unique_ptr<pending_timer> > net::io_context::timer_queue< Timer >::pending_timers_ |