virtual std::vector<TaskId> mammut::task::ProcessHandler::getActiveThreadsIdentifiers |
( |
| ) |
const |
|
pure virtual |
Returns a list of active thread identifiers on this process.
- Returns
- A vector of active thread identifiers on this process.
virtual ThreadHandler* mammut::task::ProcessHandler::getThreadHandler |
( |
TaskId |
tid | ) |
const |
|
pure virtual |
Returns the handler associated to a specific thread.
- Parameters
-
tid | The thread identifier. |
- Returns
- The handler associated to a specific thread or NULL if the thread doesn't exists. The obtained handler must be released with releaseThreadHandler call.
virtual void mammut::task::ProcessHandler::releaseThreadHandler |
( |
ThreadHandler * |
thread | ) |
const |
|
pure virtual |
Releases the handler obtained through getThreadHandler call.
- Parameters
-
thread | The thread handler. |
The documentation for this class was generated from the following file:
- /home/daniele/Code/Mammut/mammut/task/task.hpp