**/
#define FRSH_AUTOMATIC_PRIO_ASSIGN_ENABLE true
+#ifdef ENABLE_FRSH_DISTRIBUTED_MODULE
+#define FRSH_DISTRIBUTED_MODULE_SUPPORTED true
+#else
#define FRSH_DISTRIBUTED_MODULE_SUPPORTED false
-
+#endif
/** This defines 1 resource_id value for systems that have only one
resource of a kind. **/
/** Maximum number of accepted contracts (vres) **/
#define FRSH_MAX_N_VRES 100
-
/** Maximum number of threads that may be scheduled by the framework **/
#define FRSH_MAX_N_THREADS 25
-
/**
* Maximum number of critical sections that can be stored in a
* contract parameters object
**/
#define FRSH_MAX_N_SYNCH_OBJECTS 5
-
/** Maximum number of shared objects **/
#define FRSH_MAX_N_SHARED_OBJECTS 100
**/
/** Initial period of the service thread (timespec) **/
-#define FRSH_SERVICE_THREAD_PERIOD_USECS 500000 /* 500 msecs */
+#define FRSH_SERVICE_THREAD_PERIOD_USECS 5000000 /* 500 msecs */
/** Initial budget of the service thread (timespec) **/
#define FRSH_SERVICE_THREAD_BUDGET_USECS 1000 /* 1 msec */
#define FRSH_MAX_N_NETWORK_IDS 1
/**
- * Maximum number of vres that can be given in a vres list
- * to the group negotiation/cancellation primitive
+ * Maximum number of groups allocated at the same time
**/
-#define FRSH_MAX_N_VRES_VALUES 10
+#define FRSH_MAX_N_GROUPS 3
/**
- * Maximum number of contracts that can be given in a contracts list
- * to the group negotiation/cancellation primitive
+ * Maximum number of groups operations (neg, reneg, cancel) per group
**/
-#define FRSH_MAX_N_CONTRACT_VALUES 10
+#define FRSH_MAX_GROUP_OPS 3
/**
* Default overheads of shared object protection mechanisms