+ for (i=0; i<XBT_MAX_CHANNEL && hd->proc[i]; i++);
+ if (i == XBT_MAX_CHANNEL)
RAISE2(system_error,
"GRAS: Can't add a new process on %s, because all channel are already in use. Please increase MAX CHANNEL (which is %d for now) and recompile GRAS\n.",
RAISE2(system_error,
"GRAS: Can't add a new process on %s, because all channel are already in use. Please increase MAX CHANNEL (which is %d for now) and recompile GRAS\n.",
- for (i=0; i<GRAS_MAX_CHANNEL && hd->proc[i]; i++);
- if (i == GRAS_MAX_CHANNEL) {
+ for (i=0; i<XBT_MAX_CHANNEL && hd->proc[i]; i++);
+ if (i == XBT_MAX_CHANNEL) {
RAISE2(system_error,
"GRAS: Can't add a new process on %s, because all channel are already in use. Please increase MAX CHANNEL (which is %d for now) and recompile GRAS\n.",
RAISE2(system_error,
"GRAS: Can't add a new process on %s, because all channel are already in use. Please increase MAX CHANNEL (which is %d for now) and recompile GRAS\n.",