#include "y.tab.c"
-#define N 3
+#define N 5
XBT_LOG_NEW_DEFAULT_CATEGORY(example, "Example with automaton");
}
MSG_task_receive(&task, "mymailbox");
count++;
- r++;
- r=r%2;
+ r=(r+1)%4;
+
}
MC_assert(atoi(MSG_task_get_name(task)) == 3);
MSG_task_send(task, "mymailbox");
XBT_INFO("Sent!");
+ r=(r+1)%4;
return 0;
}