- if (simix_global->create_process_function)
- process_created = simix_global->create_process_function(
- arg->name.c_str(), std::move(code), NULL,
- sg_host_get_name(host), kill_time,
- current_property_set, auto_restart, NULL);
- else
- process_created = simcall_process_create(
- arg->name.c_str(), std::move(code), NULL, sg_host_get_name(host), kill_time,
- current_property_set,auto_restart);
+ process_created = simix_global->create_process_function(
+ arg->name.c_str(), std::move(code), nullptr,
+ host, kill_time,
+ current_property_set, auto_restart, nullptr);