util: Make util_context_thread_changed a no-op on Windows

Graphics / Mesa 3D Graphics Library / Mesa - Jose Fonseca [vmware.com] - 10 September 2018 09:10 EDT

Spite using thrd_t types, these functions are wed to pthreads, and break Windows builds, because thrd_current() is not implemented there, as it's impossible to have an efficient thrd_current() implementation on Windows.

Trivial.

d5f934522d util: Make util_context_thread_changed a no-op on Windows.
src/gallium/auxiliary/util/u_helpers.c | 2 ++
1 file changed, 2 insertions(+)

Upstream: cgit.freedesktop.org


  • Share