X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/85cb15c2b564f7557aee4d98e93176ce4c39ef73..e26d84ebd86c18af7d79d4afd659e53fd62ac9eb:/src/simix/smx_synchro.c diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index 3f25efe90e..8b05de185b 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -28,8 +28,7 @@ static smx_synchro_t SIMIX_synchro_wait(smx_host_t smx_host, double timeout) sync = xbt_mallocator_get(simix_global->synchro_mallocator); sync->type = SIMIX_SYNC_SYNCHRO; sync->name = xbt_strdup("synchro"); - sync->synchro.sleep = - surf_workstation_sleep(smx_host, timeout); + sync->synchro.sleep = surf_host_sleep(smx_host, timeout); surf_action_set_data(sync->synchro.sleep, sync); XBT_OUT();