X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/af459dff2b5461c2dbc61e5b5cbdc302f92d2404..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/src/simix/ActorImpl.hpp diff --git a/src/simix/ActorImpl.hpp b/src/simix/ActorImpl.hpp index 0b4c9e6d46..c2449fbfd8 100644 --- a/src/simix/ActorImpl.hpp +++ b/src/simix/ActorImpl.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2007-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. */ @@ -19,7 +19,8 @@ struct s_smx_process_exit_fun_t { }; namespace simgrid { -namespace simix { +namespace kernel { +namespace actor { class ProcessArg { public: @@ -76,7 +77,6 @@ public: std::function code; smx_timer_t kill_timer = nullptr; - int segment_index = -1; /* Reference to an SMPI process' data segment. Default value is -1 if not in SMPI context*/ /* Refcounting */ private: @@ -128,12 +128,13 @@ public: typedef boost::intrusive::list, &ActorImpl::smx_synchro_hook>> SynchroList; -} -} -typedef simgrid::simix::ProcessArg *smx_process_arg_t; +XBT_PUBLIC void create_maestro(std::function code); +} +} // namespace kernel +} // namespace simgrid -typedef simgrid::simix::ActorImpl* smx_actor_t; +typedef simgrid::kernel::actor::ActorImpl* smx_actor_t; extern "C" { @@ -143,18 +144,15 @@ XBT_PRIVATE smx_actor_t SIMIX_process_create(const char* name, std::function