Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ok, Paje is in a sorry state, but this leads to segfaults so kill it
[simgrid.git] / src / msg / gos.c
index 5951487..aa21ba2 100644 (file)
@@ -63,7 +63,6 @@ static MSG_error_t __MSG_task_get_with_time_out_from_host(m_task_t * task,
     if(max_duration>0) {
       if(!first_time) {
        PAJE_PROCESS_POP_STATE(process);
-       PAJE_COMM_STOP(process,t,channel);
        MSG_RETURN(MSG_TRANSFER_FAILURE);
       }
     }
@@ -82,8 +81,6 @@ static MSG_error_t __MSG_task_get_with_time_out_from_host(m_task_t * task,
     first_time = 0;
     if(surf_workstation_resource->extension_public->get_state(h_simdata->host) 
        == SURF_CPU_OFF)
-      PAJE_PROCESS_POP_STATE(process);
-      PAJE_COMM_STOP(process,t,channel);
       MSG_RETURN(MSG_HOST_FAILURE);
     /* OK, we should both be ready now. Are you there ? */
   }