ao_task_context.h
Task context

Notes

This module defines the context of a task. This module is abstract.

Types

ao_task_context_t

typedef struct ao_task_context_t ao_task_context_t;

Represents context-related data of a task.

Structs

ao_task_context_t

struct ao_task_context_t { };

Functions

ao_task_start_context

void ao_task_start_context(ao_task_t * t);

Starts a task. This function is called by the kernel when a task is being started in order to prepare its context.

ao_task_stop_context

void ao_task_stop_context(ao_task_t * t);

Stops a task. This function is called by the kernel when a task is being stopped in order to clean up its context.