X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/blobdiff_plain/f483eedcc241fabb1210b5800d903989202ad9fe..4cb5119dfa978af3deecb83a56587ed08384193a:/process.cpp?ds=sidebyside diff --git a/process.cpp b/process.cpp index d0bfc21..cbf512b 100644 --- a/process.cpp +++ b/process.cpp @@ -224,6 +224,10 @@ bool process::still_running() if (!last_status) { /* nop */ + } else if (opt::exit_request) { + XBT_VERB("Global exit requested"); + last_status = false; + } else if (opt::time_limit && MSG_get_clock() >= opt::time_limit) { XBT_VERB("Reached time limit: %g/%g", MSG_get_clock(), opt::time_limit); last_status = false;