pub unsafe extern "C" fn drmgr_register_thread_exit_event_ex(
func: Option<unsafe extern "C" fn(drcontext: *mut c_void)>,
priority: *mut drmgr_priority_t,
) -> bool_Expand description
Registers a callback function for the thread exit event, ordered by \p priority. drmgr calls \p func whenever DR would, when an application thread exits. All the constraints of dr_register_thread_exit_event() apply. \return whether successful.