From e4c1c6ca2484a8db7b6950772e3eb872b1666207 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 22 Apr 2009 14:50:37 -0700 Subject: [PATCH] Increase the number of internal spinlocks available to libc from 20 to 128 Fix an issue where the new malloc wants to use more internal spinlocks then libthread_xu declares. --- lib/libthread_xu/thread/thr_spinlock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libthread_xu/thread/thr_spinlock.c b/lib/libthread_xu/thread/thr_spinlock.c index da5b2e91ed..1173236cc9 100644 --- a/lib/libthread_xu/thread/thr_spinlock.c +++ b/lib/libthread_xu/thread/thr_spinlock.c @@ -43,7 +43,7 @@ #include "thr_private.h" -#define MAX_SPINLOCKS 20 +#define MAX_SPINLOCKS 128 /* * These data structures are used to trace all spinlocks -- 2.41.0