X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/061c4defffee6df56ee3584c991a99ba3b66e9dd..1657559f7a990ddc091757a83d8e11201bdd5f64:/src/simix/smx_synchro_private.hpp diff --git a/src/simix/smx_synchro_private.hpp b/src/simix/smx_synchro_private.hpp index 0ba8d40431..76f8a9cfc3 100644 --- a/src/simix/smx_synchro_private.hpp +++ b/src/simix/smx_synchro_private.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2012-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2012-2018. 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. */ @@ -17,18 +17,16 @@ struct s_smx_cond_t { std::atomic_int_fast32_t refcount_{1}; smx_mutex_t mutex = nullptr; - simgrid::simix::SynchroList sleeping; /* list of sleeping processes */ + simgrid::kernel::actor::SynchroList sleeping; /* list of sleeping processes */ simgrid::s4u::ConditionVariable cond_; }; struct s_smx_sem_t { unsigned int value; - simgrid::simix::SynchroList sleeping; /* list of sleeping processes */ + simgrid::kernel::actor::SynchroList sleeping; /* list of sleeping processes */ }; -XBT_PRIVATE void SIMIX_post_synchro(smx_activity_t synchro); XBT_PRIVATE void SIMIX_synchro_stop_waiting(smx_actor_t process, smx_simcall_t simcall); -XBT_PRIVATE void SIMIX_synchro_destroy(smx_activity_t synchro); XBT_PRIVATE void SIMIX_synchro_finish(smx_activity_t synchro); XBT_PRIVATE smx_cond_t SIMIX_cond_init();