-/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */
+/* Copyright (c) 2008-2022. The SimGrid Team. All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "simgrid/forward.h"
#include <vector>
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
/** Execute everything which is invisible
*
* iteratively until there doesn't remain any. At this point, the function
* returns to the caller which can handle the visible (and ready) simcalls.
*/
-XBT_PRIVATE void wait_for_requests();
+XBT_PRIVATE void execute_actors();
XBT_PRIVATE extern std::vector<double> processes_time;
/** Execute a given simcall */
-XBT_PRIVATE void handle_simcall(smx_simcall_t req, int req_num);
+XBT_PRIVATE void handle_simcall(kernel::actor::Simcall* req, int req_num);
/** Is the process ready to execute its simcall?
*
* have both a source and a destination yet is not enabled
* (unless timeout is enabled in the wait and enabled in SimGridMC).
*/
-XBT_PRIVATE bool actor_is_enabled(smx_actor_t process);
+XBT_PRIVATE bool actor_is_enabled(kernel::actor::ActorImpl* process);
/** Check if the given simcall is visible */
-XBT_PRIVATE bool request_is_visible(const s_smx_simcall* req);
-} // namespace mc
-} // namespace simgrid
+XBT_PRIVATE bool request_is_visible(const kernel::actor::Simcall* req);
+} // namespace simgrid::mc
#endif