virtual std::vector<TaskId> mammut::task::TasksManager::getActiveProcessesIdentifiers |
( |
| ) |
const |
|
pure virtual |
Returns a list of active processes identifiers.
- Returns
- A vector of active processes identifiers.
virtual ProcessHandler* mammut::task::TasksManager::getProcessHandler |
( |
TaskId |
pid | ) |
const |
|
pure virtual |
Returns the handler associated to a specific process.
- Parameters
-
pid | The process identifier. |
- Returns
- The handler associated to a specific process or NULL if the process doesn't exists. The obtained handler must be released with releaseProcessHandler call.
virtual ThreadHandler* mammut::task::TasksManager::getThreadHandler |
( |
TaskId |
pid, |
|
|
TaskId |
tid |
|
) |
| const |
|
pure virtual |
Returns the handler associated to a specific thread.
- Parameters
-
pid | The process identifier. |
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 ThreadHandler* mammut::task::TasksManager::getThreadHandler |
( |
| ) |
const |
|
pure virtual |
Returns the handler associated to the calling thread.
- Returns
- The handler associated to the calling thread. The obtained handler must be released with releaseThreadHandler call.
virtual void mammut::task::TasksManager::releaseProcessHandler |
( |
ProcessHandler * |
process | ) |
const |
|
pure virtual |
Releases the handler obtained through getProcessHandler call.
- Parameters
-
process | The process handler. |
virtual void mammut::task::TasksManager::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