blob: 0b6fa171741502f4b25f5d411a58a8d7e0c14f96 [file] [log] [blame]
# Copyright (c) 2020 Tobias Svehagen
# Copyright (c) 2023 Meta
#
# SPDX-License-Identifier: Apache-2.0
config EVENTFD
bool "Support for eventfd"
depends on !NATIVE_APPLICATION
select POLL
select FDTABLE
default y if POSIX_API
help
Enable support for event file descriptors, eventfd. An eventfd can
be used as an event wait/notify mechanism together with POSIX calls
like read, write and poll.
config EVENTFD_MAX
int "Maximum number of eventfd's"
depends on EVENTFD
default 1
range 1 4096
help
The maximum number of supported event file descriptors.