]> AND Public Git Repository - simgrid.git/blobdiff - src/simix/popping.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Allow to mark actors as daemon
[simgrid.git] / src / simix / popping.cpp
index 22099f63050e7d7118e88244df4fd734355ac3da..1314c04c7e61b090fbf6dc831e47932ecfdc737a 100644 (file)
@@ -5,7 +5,6 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "smx_private.h"
-#include "xbt/fifo.h"
 #include "xbt/xbt_os_thread.h"
 #if HAVE_MC
 #include "src/mc/mc_private.h"
@@ -30,7 +29,7 @@ void SIMIX_simcall_answer(smx_simcall_t simcall)
  *    weird in process scheduling.
  */
 /*    if(!xbt_dynar_member(simix_global->process_to_run, &(simcall->issuer))) */
-    xbt_dynar_push_as(simix_global->process_to_run, smx_process_t, simcall->issuer);
+    xbt_dynar_push_as(simix_global->process_to_run, smx_actor_t, simcall->issuer);
 /*    else DIE_IMPOSSIBLE; */
   }
 }