+ //start the new process
+ if (simix_global->create_process_function)
+ return simix_global->create_process_function(
+ arg.name.c_str(), arg.code, arg.data,
+ arg.hostname, arg.kill_time,
+ arg.args,
+ arg.properties, arg.auto_restart,
+ nullptr);
+ else
+ return simcall_process_create(
+ arg.name.c_str(), arg.code, arg.data,
+ arg.hostname, arg.kill_time,
+ arg.args.argc(), arg.args.to_argv(),
+ arg.properties, arg.auto_restart);