|
Kyoto Cabinet
|
Interface of a task. More...
#include <kcthread.h>
Public Member Functions | |
| Task () | |
| Default constructor. | |
| virtual | ~Task () |
| Destructor. | |
| uint64_t | id () const |
| Get the ID number of the task. | |
| uint32_t | thread_id () const |
| Get the ID number of the worker thread. | |
| bool | aborted () const |
| Check whether the thread is to be aborted. | |
Friends | |
| class | TaskQueue |
Interface of a task.
| kyotocabinet::TaskQueue::Task::Task | ( | ) | [explicit] |
Default constructor.
| virtual kyotocabinet::TaskQueue::Task::~Task | ( | ) | [virtual] |
Destructor.
| uint64_t kyotocabinet::TaskQueue::Task::id | ( | ) | const |
Get the ID number of the task.
| uint32_t kyotocabinet::TaskQueue::Task::thread_id | ( | ) | const |
Get the ID number of the worker thread.
| bool kyotocabinet::TaskQueue::Task::aborted | ( | ) | const |
Check whether the thread is to be aborted.
1.7.6.1