struct s_smx_process_exit_fun_t {
std::function<void(bool, void*)> fun;
struct s_smx_process_exit_fun_t {
std::function<void(bool, void*)> fun;
bool has_to_auto_restart() { return auto_restart_; }
void set_auto_restart(bool autorestart) { auto_restart_ = autorestart; }
bool has_to_auto_restart() { return auto_restart_; }
void set_auto_restart(bool autorestart) { auto_restart_ = autorestart; }