Hi Bastien, On Wed, Dec 14, 2022 at 1:13 AM Bastien Nocera <hadess@xxxxxxxxxx> wrote: > > On Tue, 2022-12-13 at 16:21 -0800, Luiz Augusto von Dentz wrote: > > From: Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx> > > > > This makes transport.send command non-blocking by using timerfd > > callback to initiate the transfers. > > This might be more elegantly done using a GMainLoop from glib, or if > there's still this bizarre aversion to glib, implemented like glib's > timeout functions. > > https://docs.gtk.org/glib/func.timeout_add.html Yeah, I thought I'd have to use nsec but msec should suffice so I can just use mainloop_add_timeout. > Cheers -- Luiz Augusto von Dentz