My Project
|
#include <Thread.h>
Public Member Functions | |
Thread (EPoll &ePoll) | |
void | start () |
void | join () |
std::string | getStatus () |
pid_t | getThreadId () |
int | getCount () |
void | output (std::stringstream &data) |
Additional Inherited Members | |
![]() | |
std::string | name |
std::string | tag |
This thread object is designed to be the thread processor for the EPoll object. It wraps the thread object to allow maintaining a status value for monitoring the thread activity. EPoll will instantiate a Thread object for each thread specified in the EPoll's start method.
void core::Thread::start | ( | ) |
Start the thread object. This will cause the epoll scheduler to commence reading the epoll queue.