mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 00:49:04 +02:00
util/u_thread: Disable pthread_barrier_t on Haiku
* Causes a lockup on SMP systems Reviewed-by: Alexander von Gluck IV <kallisti5@unixzen.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8323>
This commit is contained in:
parent
065cf4f914
commit
0b910cc019
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue