From: Gabriel Corona Date: Wed, 25 May 2016 09:10:14 +0000 (+0200) Subject: [simix] Remove simcall_HANDLER_process_create() as well X-Git-Tag: v3_14~1167 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/d919680dd6d792fccc5cab4ace6fbe93974919cd?hp=d0ac50e071a5fc760cd64d908b24ae1756dcf00e [simix] Remove simcall_HANDLER_process_create() as well --- diff --git a/src/simix/smx_process.cpp b/src/simix/smx_process.cpp index d4242959fa..724353594a 100644 --- a/src/simix/smx_process.cpp +++ b/src/simix/smx_process.cpp @@ -202,21 +202,6 @@ void SIMIX_process_stop(smx_process_t arg) { arg->context->stop(); } -void* simcall_HANDLER_process_create( - smx_simcall_t simcall, const char *name, xbt_main_func_t code, - void *data, const char *hostname, double kill_time, - int argc, char **argv, xbt_dict_t properties, - int auto_restart) -{ - void* res = SIMIX_process_create( - name, simgrid::simix::wrap_main(code, argc, argv), data, hostname, - kill_time, properties, auto_restart, simcall->issuer); - for (int i = 0; i != argc; ++i) - xbt_free(argv[i]); - xbt_free(argv); - return res; -} - /** * \brief Internal function to create a process. *