Files
dongheng 24e53102bf feat(pthread): modify for ESP8266
1. remove "IRAM_ATTR" from pthread function
2. modify "critical" function
3. remove SMP function
4. add platform support
2019-08-28 11:30:12 +08:00

38 lines
1.1 KiB
Plaintext

menu "PThreads"
config ENABLE_PTHREAD
bool "Enable Pthread"
help
Enable this option and then pthread is to be used.
config PTHREAD_TASK_PRIO_DEFAULT
int "Default task priority"
range 0 255
default 5
depends on ENABLE_PTHREAD
help
Priority used to create new tasks with default pthread parameters.
config PTHREAD_TASK_STACK_SIZE_DEFAULT
int "Default task stack size"
default 3072
depends on ENABLE_PTHREAD
help
Stack size used to create new tasks with default pthread parameters.
config PTHREAD_STACK_MIN
int "Minimum allowed pthread stack size"
default 768
depends on ENABLE_PTHREAD
help
Minimum allowed pthread stack size set in attributes passed to pthread_create
config PTHREAD_TASK_NAME_DEFAULT
string "Default name of pthreads"
default "pthread"
depends on ENABLE_PTHREAD
help
The default name of pthreads.
endmenu