X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/frsh-include.git/blobdiff_plain/24aec868af75840e42968b420c43afaace022528..d03c57b61b2bd1523c18ea741b9b4feb0d30b847:/frsh_configuration_parameters.h diff --git a/frsh_configuration_parameters.h b/frsh_configuration_parameters.h index bc4634c..936d355 100644 --- a/frsh_configuration_parameters.h +++ b/frsh_configuration_parameters.h @@ -187,7 +187,7 @@ * thread, and it should be at least 1 level below the maximum of the * system **/ -#define FRSH_SCHEDULER_PRIORITY 29 //104 +#define FRSH_SCHEDULER_PRIORITY (fosa_get_priority_max() - FOSA_ADS_SCHEDULER_PRIO_DIFF) /** * Real-time signal number reserved for the application scheduler to @@ -208,7 +208,7 @@ * The lowest priority that can be assigned to an application thread, * it should be at least 1 level above the minimum of the system **/ -#define FRSH_LOWEST_THREAD_PRIORITY 5 +#define FRSH_LOWEST_THREAD_PRIORITY ( fosa_get_priority_min() + 4) /** * Each call to the functions that negotiate or renegotiate a contract @@ -218,7 +218,7 @@ * following symbol represents the maximum number of requests that can * be simultaneously queued. **/ -#define FRSH_MAX_N_SERVICE_JOBS FRSH_MAX_N_VRES * 2 +#define FRSH_MAX_N_SERVICE_JOBS (FRSH_MAX_N_VRES * 2) /**