mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-23 18:18:36 +08:00

1. remove "IRAM_ATTR" from pthread function 2. modify "critical" function 3. remove SMP function 4. add platform support
38 lines
1.1 KiB
Plaintext
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
|