Include
stdbool.h |
stddef.h |
Configuration
AO_TASK_STACK_CHECK
#define AO_TASK_STACK_CHECK (false)
Defines whether to check the task stack upon each context switch.
AO_TASK_STACK_THRESHOLD
#define AO_TASK_STACK_THRESHOLD (70)
The task stack quota threshold, in per cent.
Functions
ao_task_stack_null
void ao_task_stack_null(ao_task_t const * t);
This function is called, when a task has got no stack. It must be implemented by the application.
ao_task_stack_overflow
void ao_task_stack_overflow(ao_task_t const * t);
This function is called, when a task stack overflow has occured. It must be implemented by the application.
ao_task_stack_threshold
void ao_task_stack_threshold(ao_task_t const * t, size_t quota);
This function is called, when a task stack quota threshold has been exceeded. It must be implemented by the application.
ao_task_stack_underflow
void ao_task_stack_underflow(ao_task_t const * t);
This function is called, when a task stack underflow has occured. It must be implemented by the application.
Include Next
ao_task_stack.h |