Re: [libgpiod][PATCH] bindings: python: examples: Add graceful exit to async_watch_line_value

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

 



From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>


On Tue, 17 Sep 2024 20:54:55 +0800, Kent Gibson wrote:
> The purpose of the example is demonstrate using a request with poll().
> It provides a hint as to how the poll can be combined with other fds but,
> as Python comes with batteries included, the Python version of the example
> can be readily extended to actually demonstrate this, as well as how it
> can be used in multi-threaded environments.
> 
> Extend the example to use an eventfd to allow the poll() to be run in
> a background thread and be gracefully terminated by the main thread.
> 
> [...]

Applied, thanks!

[1/1] bindings: python: examples: Add graceful exit to async_watch_line_value
      commit: 5715f61fd204d232925b30c26e20cce4993ddf5a

Best regards,
-- 
Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>




[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