25 #ifndef CARGO_IPC_EPOLL_THREAD_DISPATCHER_HPP
26 #define CARGO_IPC_EPOLL_THREAD_DISPATCHER_HPP
58 #endif // CARGO_IPC_EPOLL_THREAD_DISPATCHER_HPP
Will dispatch poll events in a newly created thread.
Definition: thread-dispatcher.hpp:41
std::atomic_bool mStopped
Definition: thread-dispatcher.hpp:50
Definition: eventfd.hpp:30
std::thread mThread
Definition: thread-dispatcher.hpp:51
~ThreadDispatcher()
Definition: thread-dispatcher.cpp:48
ThreadDispatcher()
Definition: thread-dispatcher.cpp:32
This class waits on registered file descriptor for events.
Definition: event-poll.hpp:47
EventPoll mPoll
Definition: thread-dispatcher.hpp:48
utils::EventFD mStopEvent
Definition: thread-dispatcher.hpp:49
EventPoll & getPoll()
Definition: thread-dispatcher.cpp:55