On Tue, May 23, 2023 at 03:35:30PM +0200, Bartosz Golaszewski wrote: > On Tue, May 23, 2023 at 3:34 PM Bartosz Golaszewski <brgl@xxxxxxxx> wrote: > > > > From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx> > > > > The docs don't mention it but currently passing None as the timeout to > > one of the event wait methods works like passing 0 to select() - the wait > > method returns immediately. Change it to a more standard behavior - None > > makes the method block indefinitely until an even becomes available for > > reading. > > > > This is a slight change in the behavior but let's hope nobody complains > > as libgpiod v2 is still pretty recent and its adoption is (hopegully) > > not wide-spread yet. > > > > Suggested-by: Nicolas Frattaroli <frattaroli.nicolas@xxxxxxxxx> > > Cr*p, it was supposed to be Kent who suggested it and Nicolas who > Reported it. I can change it when applying if the patch is fine. > > Bart > Man, wish I could get away with that little sleep. Anyway, that works for me. Reviewed-by: Kent Gibson <warthog618@xxxxxxxxx>