X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/50fd860b367f42edfa81ab6e83bcd2379b7e8ec8..d869090cbfe6a45bedf556f99e16612c595e3a98:/src/simix/smx_synchro.c diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index cabc1f481e..dbebbcbb2e 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -51,12 +51,12 @@ void SIMIX_mutex_lock(smx_mutex_t mutex) xbt_swag_insert(self, mutex->sleeping); self->mutex = mutex; /* wait for some process make the unlock and wake up me from mutex->sleeping */ - __SIMIX_process_yield(); + SIMIX_process_yield(); self->mutex = NULL; /* verify if the process was suspended */ while (self->suspended) { - __SIMIX_process_yield(); + SIMIX_process_yield(); } mutex->refcount = 1; @@ -213,10 +213,10 @@ void __SIMIX_cond_wait(smx_cond_t cond) self->cond = cond; xbt_swag_insert(self, cond->sleeping); - __SIMIX_process_yield(); + SIMIX_process_yield(); self->cond = NULL; while (self->suspended) { - __SIMIX_process_yield(); + SIMIX_process_yield(); } return;