X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7e2d0f730f1bdbc0b207f6ac26c0b5ff4f0765fa..8f1ee3e1004fed6acef03da662a0590da900a7d8:/include/simgrid/simix.hpp diff --git a/include/simgrid/simix.hpp b/include/simgrid/simix.hpp index 9720dc87c4..7137598d14 100644 --- a/include/simgrid/simix.hpp +++ b/include/simgrid/simix.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2018. The SimGrid Team. +/* Copyright (c) 2007-2019. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -77,26 +77,6 @@ XBT_PUBLIC void register_function(std::string name, ActorCodeFactory factory); } } -/* - * Type of function that creates a process. - * The function must accept the following parameters: - * void* process: the process created will be stored there - * const char *name: a name for the object. It is for user-level information and can be NULL - * xbt_main_func_t code: is a function describing the behavior of the process - * void *data: data a pointer to any data one may want to attach to the new object. - * sg_host_t host: the location where the new process is executed - * int argc, char **argv: parameters passed to code - * std::map* props: properties - */ -typedef smx_actor_t (*smx_creation_func_t)( - /* name */ std::string, simgrid::simix::ActorCode code, - /* userdata */ void*, - /* hostname */ sg_host_t, - /* props */ std::unordered_map*, - /* parent_process */ smx_actor_t); - -XBT_PUBLIC void SIMIX_function_register_process_create(smx_creation_func_t function); - XBT_PUBLIC smx_actor_t simcall_process_create(std::string name, simgrid::simix::ActorCode code, void* data, sg_host_t host, std::unordered_map* properties);