teach libgpiod to read multiple line events at once
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | core: use gpiod_line_event_get_fd() in gpiod_line_event_read()lib/ | +2 | 0 replies | |
| 2/7 | core: provide functions for reading multiple line events at onceinclude/ lib/ | +75 | 0 replies | |
| 3/7 | tests: event: extend test coverage for reading multiple line events at oncetests/ | +83 | 7 replies | |
| 4/7 | bindings: cxx: provide a method for reading multiple line eventsbindings/ bindings/ | +44 | 0 replies | |
| 5/7 | bindings: cxx: tests: add a test-case for reading multiple line eventsbindings/ | +31 | 0 replies | |
| 6/7 | bindings: python: add a method for reading multiple line eventsbindings/ | +57 | 0 replies | |
| 7/7 | bindings: python: tests: add a test-case for reading multiple line eventsbindings/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [libgpiod][PATCH 0/7] teach libgpiod to read multiple line events at once
From: Bartosz Golaszewski <[email protected]>
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(-)
Signature · 1 line
2.23.0