ao_task_sched_1.h
Round-robin task scheduler without priorities

Include

ao_list.h
ao_time.h
stdbool.h

Configuration

AO_TASK_QUANTUM

#define AO_TASK_QUANTUM (AO_MILLISECONDS(10))

The quantum or time slice.

Constants

AO_TASK_CEILING

AO_TASK_INHERITANCE

AO_TASK_SUBMISSION

#define AO_TASK_CEILING     (false)
#define AO_TASK_INHERITANCE (false)
#define AO_TASK_SUBMISSION  (false)

This scheduler supports neither task ceiling nor task inheritance.

Types

ao_task_sched_t

typedef struct ao_task_sched_t ao_task_sched_t;

Represents scheduler-related data of a task.

ao_task_ceiling_t

typedef struct ao_task_ceiling_t ao_task_ceiling_t;

Represents a task ceiling.

ao_task_master_t

typedef struct ao_task_master_t ao_task_master_t;

Represents a task master.

ao_task_slave_t

typedef struct ao_task_slave_t ao_task_slave_t;

Represents a task slave.

Structs

ao_task_sched_t

struct ao_task_sched_t
{
    ao_list_node_t node;
};
node The node for the scheduler’s list of ready tasks.

ao_task_ceiling_t

struct ao_task_ceiling_t { };

ao_task_master_t

struct ao_task_master_t { };

ao_task_slave_t

struct ao_task_slave_t { };