This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_EVENTFD

Enable support for eventfd

Type: bool

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.

Direct dependencies

!ARCH_POSIX

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At lib/posix/Kconfig:111

Included via Kconfig:8Kconfig.zephyr:41lib/Kconfig:12

Menu path: (Top) → Additional libraries

config EVENTFD
    bool "Enable support for eventfd"
    depends on !ARCH_POSIX
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)