X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/554255fe3f311a54df171d31a4a27f4004840f59..ea74f5d95928a521a588737e81f1de94eef25d19:/src/simix/popping_generated.cpp diff --git a/src/simix/popping_generated.cpp b/src/simix/popping_generated.cpp index fc87f65dd5..8ac55719c5 100644 --- a/src/simix/popping_generated.cpp +++ b/src/simix/popping_generated.cpp @@ -4,7 +4,7 @@ /* DO NOT EVER CHANGE THIS FILE */ /* */ /* change simcalls specification in src/simix/simcalls.in */ -/* Copyright (c) 2014-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2014-2022. The SimGrid Team. All rights reserved. */ /**********************************************************************/ /* @@ -14,7 +14,7 @@ * That's not about http://en.wikipedia.org/wiki/Poop, despite the odor :) */ -#include "smx_private.hpp" +#include #include #include #if SIMGRID_HAVE_MC @@ -22,6 +22,7 @@ #endif #include "src/kernel/activity/ConditionVariableImpl.hpp" #include "src/kernel/actor/SimcallObserver.hpp" +#include "src/kernel/context/Context.hpp" XBT_LOG_EXTERNAL_DEFAULT_CATEGORY(simix_popping); @@ -48,7 +49,7 @@ constexpr std::array simcall_names{{ */ void simgrid::kernel::actor::ActorImpl::simcall_handle(int times_considered) { - XBT_DEBUG("Handling simcall %p: %s", &simcall_, SIMIX_simcall_name(simcall_.call_)); + XBT_DEBUG("Handling simcall %p: %s", &simcall_, SIMIX_simcall_name(simcall_)); simcall_.mc_value_ = times_considered; if (simcall_.observer_ != nullptr) simcall_.observer_->prepare(times_considered); @@ -74,11 +75,13 @@ void simgrid::kernel::actor::ActorImpl::simcall_handle(int times_considered) break; case Simcall::COMM_TEST: - simcall_HANDLER_comm_test(&simcall_, simgrid::simix::unmarshal(simcall_.args_[0])); + simgrid::simix::marshal(simcall_.result_, simcall_HANDLER_comm_test(&simcall_, simgrid::simix::unmarshal(simcall_.args_[0]))); + simcall_answer(); break; case Simcall::COMM_TESTANY: - simcall_HANDLER_comm_testany(&simcall_, simgrid::simix::unmarshal(simcall_.args_[0]), simgrid::simix::unmarshal(simcall_.args_[1])); + simgrid::simix::marshal(simcall_.result_, simcall_HANDLER_comm_testany(&simcall_, simgrid::simix::unmarshal(simcall_.args_[0]), simgrid::simix::unmarshal(simcall_.args_[1]))); + simcall_answer(); break; case Simcall::COMM_WAITANY: