static void free_os_handler(os_handler_t *os_hnd) { iposix_info_t *info = os_hnd->internal_data; sel_free_selector(info->sel); ipmi_posix_free_os_handler(os_hnd); }
static void free_os_handler(os_handler_t *os_hnd) { pt_os_hnd_data_t *info = os_hnd->internal_data; sigaction(info->wake_sig, &info->oldact, NULL); sel_free_selector(info->sel); ipmi_posix_thread_free_os_handler(os_hnd); }
static void leave(int ret) { if (con && con->close_connection) { con->close_connection(con); con = NULL; } if (sel) { sel_free_selector(sel); sel = NULL; } exit(ret); }