Skip to main content

drmgr_register_thread_exit_event

Function drmgr_register_thread_exit_event 

Source
pub unsafe extern "C" fn drmgr_register_thread_exit_event(
    func: Option<unsafe extern "C" fn(drcontext: *mut c_void)>,
) -> bool_
Expand description

Registers a callback function for the thread exit event. 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.