Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Implement pthread_join in MC mode for sthread
[simgrid.git] / src / mc / mc_base.hpp
index 69fc226e53d4a765089c47485ffbc9f1b608ea70..5d30ac9144ecbea0499e8d4c92c5aa1ba3f32f6c 100644 (file)
@@ -9,8 +9,7 @@
 #include "simgrid/forward.h"
 #include <vector>
 
-namespace simgrid {
-namespace mc {
+namespace simgrid::mc {
 
 /** Execute everything which is invisible
  *
@@ -34,11 +33,10 @@ XBT_PRIVATE void handle_simcall(kernel::actor::Simcall* req, int req_num);
  *  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 kernel::actor::Simcall* req);
-} // namespace mc
-} // namespace simgrid
+} // namespace simgrid::mc
 
 #endif