Skip to content

thread-safety doc + Rust modeling

Erik Schilling linux-gpio 1 version In review

Get series with b4
b4 am [email protected] change-id 20230928-rust-send-trait-316a8f31bb97

Versions newest first

  1. v1 Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3doc: drop unneeded <p> tagsinclude/gpiod.h+3 -30 replies
2/3doc: document thread safety guaranteesinclude/gpiod.h+20 -00 replies
3/3bindings: rust: mark all owning types as `Send`bindings/rust/libgpiod/src/edge_event.rs bindings/rust/libgpiod/src/event_buffer.rs bindings/rust/libgpiod/src/info_event.rs +4 more+32 -04 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchViresh Kumar
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [libgpiod][PATCH 0/3] thread-safety doc + Rust modeling

This updates the docs with what was discussed in the linked thread. Then, the Rust bindings are adjusted to match in behaviour.

To: Linux-GPIO <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Viresh Kumar <[email protected]>

---
Erik Schilling (3):
doc: drop unneeded <p> tags
doc: document thread safety guarantees
bindings: rust: mark all owning types as Send

 bindings/rust/libgpiod/src/edge_event.rs     |  4 ++++
 bindings/rust/libgpiod/src/event_buffer.rs   |  8 ++++++++
 bindings/rust/libgpiod/src/info_event.rs     |  4 ++++
 bindings/rust/libgpiod/src/line_config.rs    |  4 ++++
 bindings/rust/libgpiod/src/line_request.rs   |  4 ++++
 bindings/rust/libgpiod/src/line_settings.rs  |  4 ++++
 bindings/rust/libgpiod/src/request_config.rs |  4 ++++
 include/gpiod.h                              | 26 +++++++++++++++++++++++---
 8 files changed, 55 insertions(+), 3 deletions(-)

---
base-commit: ced90e79217793957b11414f47f8aa8a77c7a2d5
change-id: 20230928-rust-send-trait-316a8f31bb97

Best regards,

Signature · 1 line
Erik Schilling <[email protected]>