The ALF framework provides notifications for the following task events:
- ALF_TASK_EVENT_READY - the task is ready to be scheduled
- ALF_TASK_EVENT_FINISHED - the task has finished running
- ALF_TASK_EVENT_FINALIZED - all the work blocks for the
task have been enqueued alf_task_finalized has been called
- ALF_TASK_EVENT_INSTANCE_START - one new instance of the
task starts
- ALF_TASK_EVENT_INSTANCE_END - one instance of the task
ends
- ALF_TASK_EVENT_DESTROY - The task is destroyed explicitly
For information about how to set event handling, see
alf_task_event_handler_register.