mesa/src/c11
Yonggang Luo 4579b702f6 c11: Remove mtx_try from mtx enums as it's not a part of c11 standard
And we support for four types of mtx init enum values that define by C11 standard:
0 mtx_plain - a simple, non-recursive mutex is created.
2 mtx_timed - a non-recursive mutex, that supports timeout, is created.
1 mtx_plain | mtx_recursive - a recursive mutex is created.
3 mtx_timed | mtx_recursive - a recursive mutex, that supports timeout, is created.

musl library also use these enum combination

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/18036>
2022-08-15 14:40:52 +00:00
..
impl 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.h c11: Remove mtx_try from mtx enums as it's not a part of c11 standard 2022-08-15 14:40:52 +00:00
time.h c11: Fixes the declaration of timespec_get in time.h for macOS 2022-08-09 17:23:17 +00:00