#include "xbt/parmap.hpp"
-#include "src/simix/smx_private.h"
+#include "src/simix/smx_private.hpp"
#include "mc/mc.h"
XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_context);
raw_workers_context = xbt_new(RawContext*, nthreads);
raw_maestro_context = nullptr;
#endif
- // TODO, if(SIMIX_context_get_parallel_threshold() > 1) => choose dynamically
+ // TODO: choose dynamically when SIMIX_context_get_parallel_threshold() > 1
}
}
RawContext* context = static_cast<RawContext*>(arg);
try {
(*context)();
- context->stop();
- } catch (StopRequest) {
+ context->Context::stop();
+ } catch (StopRequest const&) {
XBT_DEBUG("Caught a StopRequest");
}
context->suspend();