Adjusted MAX_THREADS to be 2 more than the number of standard threads on all platforms.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7776 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-11-07 20:09:08 +00:00
parent 7053f1e77c
commit ed00708ac4

View file

@ -21,7 +21,12 @@
#include <stdbool.h>
#if CONFIG_CODEC == SWCODEC
#define MAXTHREADS 14
#else
#define MAXTHREADS 9
#endif
#define DEFAULT_STACK_SIZE 0x400 /* Bytes */
int create_thread(void (*function)(void), void* stack, int stack_size,