X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/0b63f78dc217b79305cef05bd2200069d3e24475..5e7d79b763a5f55d1afb579d2b5a8d30ccfe869c:/src/simix/ActorImpl.hpp diff --git a/src/simix/ActorImpl.hpp b/src/simix/ActorImpl.hpp index 28409f3180..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: @@ -127,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" { @@ -142,18 +144,15 @@ XBT_PRIVATE smx_actor_t SIMIX_process_create(const char* name, std::function