From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx> In v2 of my series adding the line status watch I introduced a regression that made it impossible to read more than one event at the same time. This is because I use libgpiod for testing and it doesn't allow to read more than one event from user-space. This series adds this missing functionality so that we can test v3 and avoid this problem. Bartosz Golaszewski (7): core: use gpiod_line_event_get_fd() in gpiod_line_event_read() core: provide functions for reading multiple line events at once tests: event: extend test coverage for reading multiple line events at once bindings: cxx: provide a method for reading multiple line events bindings: cxx: tests: add a test-case for reading multiple line events bindings: python: add a method for reading multiple line events bindings: python: tests: add a test-case for reading multiple line events bindings/cxx/gpiod.hpp | 7 +++ bindings/cxx/line.cpp | 45 +++++++++++--- bindings/cxx/tests/tests-event.cpp | 31 ++++++++++ bindings/python/gpiodmodule.c | 57 ++++++++++++++++++ bindings/python/tests/gpiod_py_test.py | 22 +++++++ include/gpiod.h | 25 ++++++++ lib/core.c | 68 ++++++++++++++++----- tests/tests-event.c | 83 ++++++++++++++++++++++++++ 8 files changed, 314 insertions(+), 24 deletions(-) -- 2.23.0