5#ifndef WPINET_EVENTLOOPRUNNER_H_
6#define WPINET_EVENTLOOPRUNNER_H_
Executes an event loop on a separate thread.
Definition EventLoopRunner.h:20
virtual ~EventLoopRunner()
void ExecSync(LoopFunc func)
Run a function synchronously (once) on the loop.
std::function< void(uv::Loop &)> LoopFunc
Definition EventLoopRunner.h:22
void Stop()
Stop the loop.
void ExecAsync(LoopFunc func)
Run a function asynchronously (once) on the loop.
std::shared_ptr< uv::Loop > GetLoop()
Get the loop.
Definition SafeThread.h:124
Event loop.
Definition Loop.h:37
Foonathan namespace.
Definition ntcore_cpp.h:26