X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/88f37b6fb2e255b82a42d81005ecb4d40a96fc82..311d21362aff192fe4d49d8cc6ed907e9e3f8fb0:/src/simix/smx_synchro.c diff --git a/src/simix/smx_synchro.c b/src/simix/smx_synchro.c index 74fd1f0707..64d4d699eb 100644 --- a/src/simix/smx_synchro.c +++ b/src/simix/smx_synchro.c @@ -315,3 +315,17 @@ void SIMIX_cond_destroy(smx_cond_t cond) return; } } + +void SIMIX_cond_display_info(smx_cond_t cond) +{ + if (cond == NULL) + return; + else { + smx_process_t process = NULL; + + INFO0("Blocked process on this condition:"); + xbt_swag_foreach(process,cond->sleeping) { + INFO2("\t %s running on host %s",process->name,process->simdata->smx_host->name); + } + } +}