c45e4ac440
reason: BOARDIOC_SPINLOCK can support the combined semantics of disabling interrupts (irq), trylock, and spinlock. Signed-off-by: hujun5 <hujun5@xiaomi.com>
24 lines
524 B
Plaintext
24 lines
524 B
Plaintext
#
|
|
# For a description of the syntax of this configuration file,
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
#
|
|
|
|
menu "pthread support"
|
|
depends on !DISABLE_PTHREAD
|
|
|
|
config PTHREAD_SPINLOCKS
|
|
bool "pthread spinlock support"
|
|
default n
|
|
depends on SPINLOCK && (BUILD_FLAT || BOARDCTL)
|
|
select BOARDCTL_SPINLOCK
|
|
---help---
|
|
Enable support for pthread spinlocks.
|
|
|
|
config PTHREAD_ATFORK
|
|
bool "pthread_atfork support"
|
|
default n
|
|
---help---
|
|
Enable support for pthread_atfork.
|
|
|
|
endmenu # pthread support
|