|
ServerCore
|
#include <Thread.h>


Public Member Functions | |
| Thread (EPoll &ePoll) | |
| ~Thread () | |
| void | start () |
| void | join () |
| std::string | getStatus () |
| pid_t | getThreadId () |
| int | getCount () |
| void | output (std::stringstream &data) |
Additional Inherited Members | |
Public Attributes inherited from core::Object | |
| 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.
| core::Thread::Thread | ( | EPoll & | ePoll | ) |
| core::Thread::~Thread | ( | ) |
| int core::Thread::getCount | ( | ) |
| std::string core::Thread::getStatus | ( | ) |
| pid_t core::Thread::getThreadId | ( | ) |
| void core::Thread::join | ( | ) |
| void core::Thread::output | ( | std::stringstream & | data | ) |
| void core::Thread::start | ( | ) |
Start the thread object. This will cause the epoll scheduler to commence reading the epoll queue.
1.8.17