+ } else if (mydata->finalize > 0) { /* main wants me to die and nothing to do */
+ DEBUG0("Main wants me to die and I'm done. Bye, guys.");
+ mydata->finalize--;
+ SIMIX_cond_signal(mydata->cond);
+ return 0;
+ } else {
+ DEBUG0("Nothing to do. Let's get a nap");
+ SIMIX_process_suspend(self);
+ DEBUG0("Uh? Someone called me?");