nuttx/libs/libc/pthread/Kconfig
hujun5 c45e4ac440 boardcrtl: change BOARDCTL_TESTSET to BOARDIOC_SPINLOCK
reason:
BOARDIOC_SPINLOCK can support the combined semantics
of disabling interrupts (irq), trylock, and spinlock.

Signed-off-by: hujun5 <hujun5@xiaomi.com>
2024-09-06 16:10:09 +08:00

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