nuttx/fs/vfs/Kconfig
dongjiuzhu1 c7eca3d176 timerfd/eventfd: using file_allocate to replace register_driver
Signed-off-by: dongjiuzhu1 <dongjiuzhu1@xiaomi.com>
2022-12-28 22:45:25 +08:00

51 lines
1001 B
Plaintext

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EVENT_FD
bool "EventFD"
default n
---help---
Create a file descriptor for event notification
if EVENT_FD
config EVENT_FD_POLL
bool "EventFD poll support"
default y
---help---
Poll support for file descriptor based events
config EVENT_FD_NPOLLWAITERS
int "Number of eventFD poll waiters"
default 2
depends on EVENT_FD_POLL
---help---
Maximum number of threads that can be waiting on poll()
endif # EVENT_FD
config TIMER_FD
bool "TimerFD"
default n
---help---
Create a file descriptor for timer notification
if TIMER_FD
config TIMER_FD_POLL
bool "TimerFD poll support"
default y
---help---
Poll support for file descriptor based timers
config TIMER_FD_NPOLLWAITERS
int "Number of timerFD poll waiters"
default 2
depends on TIMER_FD_POLL
---help---
Maximum number of threads that can be waiting on poll()
endif # TIMER_FD