Last change: 01/05/2003
Author: Luiz Henrique Shigunov
0x00 - TaskDestroyed - Signal that a task was destroyed
0x01 - ThreadDestroyed - Signal that a thread was destroyed
This page describes the TaskManagerE interface.
A module only needs to implement the functions it needs.
void TaskDestroyed(TaskManager_Task *task);
This function is called before task is destroyed. This function may execute in a different task context than the one that is been destroyed.
To permit that task be used without problem, it will be undestroyable.
void ThreadDestroyed(TaskManager_Task *task, TaskManager_Thread *thread);
This function is called before thread from task is destroyed. This function may execute in a different thread context than the one that is been destroyed.
It's not guaranteed that task still exists.
To permit that task and thread be used without problem, they will be undestroyable.