- xbt_main_func_t code = nullptr;
- simgrid::simix::args args;
- void *data = nullptr;
- const char *hostname = nullptr;
- double kill_time = 0.0;
- xbt_dict_t properties = nullptr;
- bool auto_restart = false;
+ std::function<void()> code;
+ void *data = nullptr;
+ const char *hostname = nullptr;
+ double kill_time = 0.0;
+ xbt_dict_t properties = nullptr;
+ bool auto_restart = false;