Reducing number of threads to below MAX_THREADS
This commit is contained in:
parent
1b37ebbb13
commit
0dc8227beb
@ -20,7 +20,8 @@
|
||||
#include <aos/deferred.h>
|
||||
|
||||
#define NUM_SMALL_BUFFERS 128
|
||||
#define NUM_THREADS 512
|
||||
// one thread is for the main and MAX_THREADS is 256
|
||||
#define NUM_THREADS (256 - 1)
|
||||
|
||||
static struct thread* threads[NUM_THREADS];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user