unix, windows: add uv_thread_equal