|
trantor
Non-blocking I/O cross-platform TCP network library, using C++14
|
This class represents an event loop thread. More...
#include <trantor/net/EventLoopThread.h>


Public Member Functions | |
| EventLoopThread (const std::string &threadName="EventLoopThread") | |
| void | wait () |
| Wait for the event loop to exit. | |
| EventLoop * | getLoop () const |
| Get the pointer of the event loop of the thread. | |
| void | run () |
| Run the event loop of the thread. This method doesn't block the current thread. | |
This class represents an event loop thread.
|
inline |
Get the pointer of the event loop of the thread.
| void trantor::EventLoopThread::wait | ( | ) |
Wait for the event loop to exit.