Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cargo::ipc::epoll::ThreadDispatcher Class Reference

Will dispatch poll events in a newly created thread. More...

#include <thread-dispatcher.hpp>

Public Member Functions

 ThreadDispatcher ()
 
 ~ThreadDispatcher ()
 
EventPollgetPoll ()
 

Private Attributes

EventPoll mPoll
 
utils::EventFD mStopEvent
 
std::atomic_bool mStopped
 
std::thread mThread
 

Detailed Description

Will dispatch poll events in a newly created thread.

Constructor & Destructor Documentation

cargo::ipc::epoll::ThreadDispatcher::ThreadDispatcher ( )
cargo::ipc::epoll::ThreadDispatcher::~ThreadDispatcher ( )

Member Function Documentation

EventPoll & cargo::ipc::epoll::ThreadDispatcher::getPoll ( )

Member Data Documentation

EventPoll cargo::ipc::epoll::ThreadDispatcher::mPoll
private
utils::EventFD cargo::ipc::epoll::ThreadDispatcher::mStopEvent
private
std::atomic_bool cargo::ipc::epoll::ThreadDispatcher::mStopped
private
std::thread cargo::ipc::epoll::ThreadDispatcher::mThread
private

The documentation for this class was generated from the following files: