From: Arnaud Legrand Date: Wed, 8 Apr 2015 13:06:44 +0000 (+0200) Subject: Making the exception/exception test work: X-Git-Tag: v3_12~732^2~61^2^2~6 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/068c7c9cf6ec9fe22cc80d65633a7c05caf767f5?hp=068c7c9cf6ec9fe22cc80d65633a7c05caf767f5 Making the exception/exception test work: Always putting the process in the process_to_run list is bad. Indeed, when canceling tasks (e.g., with SIMIX_host_execution_cancel), the action will be cancelled and the corresponding process will be run again when the action is popped from the list. This leads to very surprising behavior since the action is only popped way after, generally after calling surf_solve.... This is why the fix has two parts: 1) Do not put in the process_to_run list when canceling the action 2) Once all process have been run, pop the surf actions in case some have been modified ---