mesa/src/c11/impl
Yonggang Luo 399dc71a30 c11: Getting the macro guard of HAVE_PTHREAD in c11/threads.h to be consistence with util/u_uthread.h
The macro guard of #if defined(_WIN32) && !defined(__CYGWIN__) is comes from yohhoy's implementation
and that's not consistence with util/u_uthread.h, this caused it's hard to understand.
Now we change the behavior that's always rely on how meson detecting HAVE_PTHREAD.

So we always disable detecting of threads on Win32 as it's always included in the kernel32 library to
avoid detecting pthreads in mingw.

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18425>
2022-10-20 03:04:56 +00:00
..
.editorconfig
meson.build c11: #include <threads.h> when the os/platform provide it 2022-08-18 01:02:07 +00:00
threads_posix.c c11: Remove mtx_try from mtx enums as it's not a part of c11 standard 2022-08-15 14:40:52 +00:00
threads_win32.c meson/mesa/wide: define WIN32_LEAN_AND_MEAN with pre_args 2022-10-20 03:04:56 +00:00
threads_win32.h
threads_win32_tls_callback.cpp
time.c c11: Getting the macro guard of HAVE_PTHREAD in c11/threads.h to be consistence with util/u_uthread.h 2022-10-20 03:04:56 +00:00