Skip to main content

dr_retakeover_suspended_native_thread

Function dr_retakeover_suspended_native_thread 

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

Causes the thread owning \p drcontext to begin executing in the code cache again once it is resumed. The thread must currently be suspended (typically by dr_suspend_all_other_threads_ex() with #DR_SUSPEND_NATIVE) and must be currently native (typically from #DR_EMIT_GO_NATIVE). \return whether successful.