mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
.. | ||
main | ||
CMakeLists.txt | ||
Makefile | ||
README.md |
eventfd example
The example demonstrates the use of eventfd()
to collect events from other tasks and ISRs in a
select()
based main loop. The example starts two tasks and installs a timer interrupt handler:
- The first task writes to the first
eventfd
periodically. - The timer interrupt handler writes to the second
eventfd
. - The second task collects the event from two fds with a
select()
loop.
See the README.md file in the upper level 'examples' directory for more information about examples.