Mesa (master): util/u_thread: Disable pthread_barrier_t on Haiku
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sun Jan 10 03:13:33 UTC 2021
Module: Mesa
Branch: master
Commit: 0b910cc0192d63611da261911710187581c18736
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b910cc0192d63611da261911710187581c18736
Author: X512 <danger_mail at list.ru>
Date: Tue Jan 5 08:34:15 2021 -0600
util/u_thread: Disable pthread_barrier_t on Haiku
* Causes a lockup on SMP systems
Reviewed-by: Alexander von Gluck IV <kallisti5 at unixzen.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>
---
src/util/u_thread.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/u_thread.h b/src/util/u_thread.h
index 428ced09856..c5f7fb69fd3 100644
--- a/src/util/u_thread.h
+++ b/src/util/u_thread.h
@@ -249,7 +249,7 @@ static inline bool u_thread_is_self(thrd_t thread)
* util_barrier
*/
-#if defined(HAVE_PTHREAD) && !defined(__APPLE__)
+#if defined(HAVE_PTHREAD) && !defined(__APPLE__) && !defined(__HAIKU__)
typedef pthread_barrier_t util_barrier;
More information about the mesa-commit
mailing list