Type definitions that are widely used across different parts of the runtime.
void lf_sched_init(environment_t *env, size_t number_of_workers, sched_params_t *parameters)
Initialize the scheduler.
Definition scheduler_GEDF_NP.c:122
void lf_sched_free(lf_scheduler_t *scheduler)
Free the memory used by the scheduler.
Definition scheduler_GEDF_NP.c:150
void lf_sched_done_with_reaction(size_t worker_number, reaction_t *done_reaction)
Inform the scheduler that worker thread 'worker_number' is done executing the 'done_reaction'.
Definition scheduler_GEDF_NP.c:229
reaction_t * lf_sched_get_ready_reaction(lf_scheduler_t *scheduler, int worker_number)
Ask the scheduler for one more reaction.
Definition scheduler_GEDF_NP.c:157
void lf_scheduler_trigger_reaction(lf_scheduler_t *scheduler, reaction_t *reaction, int worker_number)
Inform the scheduler that worker thread 'worker_number' would like to trigger 'reaction' at the curre...
Definition scheduler_GEDF_NP.c:236
Common scheduler parameters.
Execution environment. This struct contains information about the execution environment....
Definition environment.h:49
Paramters used in schedulers of the threaded reactor C runtime.
Definition scheduler_instance.h:34
Definition lf_types.h:155
Struct representing the most common scheduler parameters.
Definition scheduler_instance.h:92