X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/55f40bb2267b2fb4999d7c3ec1a69b4ef133fe68..b6ac23e9dc3754bbad244ed95e7aa386f7be5da6:/src/simix/Synchro.h diff --git a/src/simix/Synchro.h b/src/simix/Synchro.h index da0e8e0837..8b3d427bb8 100644 --- a/src/simix/Synchro.h +++ b/src/simix/Synchro.h @@ -7,6 +7,7 @@ #define _SIMIX_SYNCHRO_HPP #include +#include #include #include "simgrid/forward.h" @@ -24,8 +25,8 @@ namespace simix { virtual ~Synchro(); e_smx_state_t state = SIMIX_WAITING; /* State of the synchro */ std::string name; /* synchro name if any */ - xbt_fifo_t simcalls = nullptr; /* List of simcalls waiting for this synchro */ - char *category = nullptr; /* For instrumentation */ + std::list simcalls; /* List of simcalls waiting for this synchro */ + char *category; /* For instrumentation */ virtual void suspend()=0; virtual void resume()=0;