Hi Laurent On Wed, 14 Dec 2022 at 14:30, Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx> wrote: > > > Isn't this still racy ? > > > > Indeed... > > > > I could add a mutex just for flush_status > > > > what do you think? > > It may be possible to avoid that. I'm giving it a try. Just sent a new version without lock... -- Ricardo Ribalda