Re: [libgpiod][PATCH 0/3] thread-safety doc + Rust modeling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon Oct 2, 2023 at 9:16 AM CEST, Bartosz Golaszewski wrote:
> On Thu, Sep 28, 2023 at 4:37 PM Erik Schilling
> <erik.schilling@xxxxxxxxxx> wrote:
> >
> > 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 <linux-gpio@xxxxxxxxxxxxxxx>
> > Cc: Bartosz Golaszewski <brgl@xxxxxxxx>
> > Cc: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> >
> > Link: https://lore.kernel.org/r/CVHO091CC80Y.3KUOSLSOBVL0T@ablu-work
> > Signed-off-by: Erik Schilling <erik.schilling@xxxxxxxxxx>
> > ---
> > 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,
> > --
> > Erik Schilling <erik.schilling@xxxxxxxxxx>
> >
>
> Series applied, thanks!

Thanks for merging and the clarifications!

- Erik





[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux