#include #include #include #include #include #include #include #include "monano.h" #include "task_parameter.h" #include "nthread.h" struct pthread_monano_attr_t param_file[NTHREAD]; /* To store task parameters */ pthread_monano_attr_t* pthread_monano_task_parameters (pthread_monano_t *t, int nb) { int i; int priority=100; for(i=0; istatic_constraints[MONANO_STATIC_CONSTRAINTS_MONOCORE]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_PARTITIONED]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_NON_PREEMPTIVE]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_FIXED_PRIORITY]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_SYNCHRONOUS_RELEASE]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_PERIODIC_TASKS]=true; t->static_constraints[MONANO_STATIC_CONSTRAINTS_INDEPENDENT_TASKS]=true; }