static int emigrant(
int argc,
char *
argv[])
{
XBT_INFO(
"I'll look for a new job on another machine ('Boivin') where the grass is greener.");
XBT_INFO(
"Yeah, found something to do");
XBT_INFO(
"Moving back home after work");
XBT_INFO(
"Uh, nothing to do here. Stopping now");
return 0;
}
static int policeman(int argc, char *argv[])
{
while (controlled_process == NULL)
xbt_cond_wait(identification, checkpoint);
return 0;
}
int main(
int argc,
char *argv[])
{
xbt_assert(argc == 2,
"Usage: %s platform_file\n\tExample: %s msg_platform.xml\n", argv[0], argv[0]);
}