if (xbt_set_length(pd->libdata) <
xbt_dynar_length(_gras_procdata_fabrics)) {
/* Damn, some new modules were added since procdata_init(). Amok? */
if (xbt_set_length(pd->libdata) <
xbt_dynar_length(_gras_procdata_fabrics)) {
/* Damn, some new modules were added since procdata_init(). Amok? */
if (cursor + 1 <= xbt_set_length(pd->libdata)) {
XBT_DEBUG("Skip fabric %d: there is already %ld libdata",
if (cursor + 1 <= xbt_set_length(pd->libdata)) {
XBT_DEBUG("Skip fabric %d: there is already %ld libdata",
XBT_DEBUG("Go ahead for cursor %d, there is %ld libdata",
cursor, xbt_set_length(pd->libdata));
XBT_DEBUG("Go ahead for cursor %d, there is %ld libdata",
cursor, xbt_set_length(pd->libdata));
XBT_DEBUG("Create the procdata for %s", fab.name);
/* Check for our own errors */
XBT_DEBUG("Create the procdata for %s", fab.name);
/* Check for our own errors */
THROWF(unknown_error, 0,
"MayDay: two modules use '%s' as libdata name", fab.name);
/* Add the data in place, after some more sanity checking */
THROWF(unknown_error, 0,
"MayDay: two modules use '%s' as libdata name", fab.name);
/* Add the data in place, after some more sanity checking */
res = bprintf("%s:%d", gras_os_myname(), gras_os_myport());
return (const char *) res;
}
res = bprintf("%s:%d", gras_os_myname(), gras_os_myport());
return (const char *) res;
}