pub unsafe extern "C" fn PL_get_thread_alias(
    tid: c_int,
    alias: *mut atom_t
) -> c_int