pub unsafe extern "C" fn PL_thread_attach_engine(
    attr: *mut PL_thread_attr_t
) -> c_int