git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2821
48e7efb5-ca39-0410-a469-
dd3cf9ba447f
while(MSG_process_is_suspended(t_simdata->sender)) {
DEBUG1("Oooups, the sender (%s) has been suspended in the meantime. Let's wait for him",
t_simdata->sender->name);
- /*m_task_t task_to_wait_for = t_simdata->sender->simdata->waiting_task;*/
task_to_wait_for = t_simdata->sender->simdata->waiting_task;
if(__MSG_process_isBlocked(t_simdata->sender)) {
DEBUG0("He's blocked. Let's wait for him to go in the suspended state");