![]() |
Bitcoin Core 29.99.0
P2P Digital Currency
|
Event loop smart pointer automatically managing m_num_clients. More...
#include <proxy.h>
Public Member Functions | |
EventLoopRef (EventLoop &loop, Lock *lock=nullptr) | |
EventLoopRef (EventLoopRef &&other) noexcept | |
EventLoopRef (const EventLoopRef &)=delete | |
EventLoopRef & | operator= (const EventLoopRef &)=delete |
EventLoopRef & | operator= (EventLoopRef &&)=delete |
~EventLoopRef () | |
EventLoop & | operator* () const |
EventLoop * | operator-> () const |
void | reset (bool relock=false) |
Public Attributes | |
EventLoop * | m_loop {nullptr} |
Lock * | m_lock {nullptr} |
Event loop smart pointer automatically managing m_num_clients.
If a lock pointer argument is passed, the specified lock will be used, otherwise EventLoop::m_mutex will be locked when needed.
|
inlinenoexcept |
|
delete |
|
inline |
|
inline |
|
inline |
|
delete |
|
delete |
void mp::EventLoopRef::reset | ( | bool | relock = false | ) |