pub unsafe extern "C" fn enif_thread_join(
    tid: ErlNifTid,
    respp: *mut *mut c_void
) -> c_int