[libc][Kconfig] default open epoll/eventfd/signalfd/timerfd/select (#8386)
This commit is contained in:
parent
d19a15a5df
commit
833b43dbc7
|
@ -19,28 +19,31 @@ if RT_USING_POSIX_FS
|
||||||
|
|
||||||
config RT_USING_POSIX_POLL
|
config RT_USING_POSIX_POLL
|
||||||
bool "Enable I/O Multiplexing poll() <poll.h>"
|
bool "Enable I/O Multiplexing poll() <poll.h>"
|
||||||
|
default y if RT_USING_SMART
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_POSIX_SELECT
|
config RT_USING_POSIX_SELECT
|
||||||
bool "Enable I/O Multiplexing select() <sys/select.h>"
|
bool "Enable I/O Multiplexing select() <sys/select.h>"
|
||||||
select RT_USING_POSIX_POLL
|
select RT_USING_POSIX_POLL
|
||||||
|
default y if RT_USING_SMART
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_POSIX_EVENTFD
|
config RT_USING_POSIX_EVENTFD
|
||||||
bool "Enable I/O event eventfd <sys/eventfd.h>"
|
bool "Enable I/O event eventfd <sys/eventfd.h>"
|
||||||
select RT_USING_POSIX_POLL
|
select RT_USING_POSIX_POLL
|
||||||
|
default y if RT_USING_SMART
|
||||||
default n
|
default n
|
||||||
|
|
||||||
if RT_USING_SMART
|
if RT_USING_SMART
|
||||||
config RT_USING_POSIX_EPOLL
|
config RT_USING_POSIX_EPOLL
|
||||||
bool "Enable I/O Multiplexing epoll <sys/epoll.h>"
|
bool "Enable I/O Multiplexing epoll <sys/epoll.h>"
|
||||||
select RT_USING_POSIX_POLL
|
select RT_USING_POSIX_POLL
|
||||||
default n
|
default y
|
||||||
|
|
||||||
config RT_USING_POSIX_SIGNALFD
|
config RT_USING_POSIX_SIGNALFD
|
||||||
bool "Enable Signalfd <sys/signalfd.h>"
|
bool "Enable Signalfd <sys/signalfd.h>"
|
||||||
select RT_USING_POSIX_POLL
|
select RT_USING_POSIX_POLL
|
||||||
default n
|
default y
|
||||||
|
|
||||||
if RT_USING_POSIX_SIGNALFD
|
if RT_USING_POSIX_SIGNALFD
|
||||||
config RT_SIGNALFD_MAX_NUM
|
config RT_SIGNALFD_MAX_NUM
|
||||||
|
@ -52,6 +55,7 @@ if RT_USING_POSIX_FS
|
||||||
|
|
||||||
config RT_USING_POSIX_TIMERFD
|
config RT_USING_POSIX_TIMERFD
|
||||||
bool "Enable I/O timerfd <sys/timerfd.h>"
|
bool "Enable I/O timerfd <sys/timerfd.h>"
|
||||||
|
default y if RT_USING_SMART
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config RT_USING_POSIX_SOCKET
|
config RT_USING_POSIX_SOCKET
|
||||||
|
|
Loading…
Reference in New Issue