Increase the number of spinlocks, since libc's malloc implementation is

about to significantly increase the number of spinlocks used.

Approved by:	markm (mentor)
This commit is contained in:
jasone 2006-01-13 06:14:04 +00:00
parent e256afc28c
commit e30d92806f
3 changed files with 3 additions and 3 deletions
lib
libkse/thread
libpthread/thread
libthr/thread

@ -40,7 +40,7 @@
#include "spinlock.h"
#include "thr_private.h"
#define MAX_SPINLOCKS 5
#define MAX_SPINLOCKS 72
struct spinlock_extra {
spinlock_t *owner;

@ -40,7 +40,7 @@
#include "spinlock.h"
#include "thr_private.h"
#define MAX_SPINLOCKS 5
#define MAX_SPINLOCKS 72
struct spinlock_extra {
spinlock_t *owner;

@ -40,7 +40,7 @@
#include "thr_private.h"
#define MAX_SPINLOCKS 20
#define MAX_SPINLOCKS 72
/*
* These data structures are used to trace all spinlocks