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:
parent
7053f1e77c
commit
ed00708ac4
1 changed files with 5 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue