[vlc-devel] [RFC 0/2] New executor API

Rémi Denis-Courmont remi at remlab.net
Wed Aug 26 22:30:45 CEST 2020

Le keskiviikkona 26. elokuuta 2020, 22.55.16 EEST Romain Vimont a écrit :
> > > In order to support the background worker features, a timeout can be
> > > provided to automatically cancel/interrupt the task (which adds quite a
> > > lot
> > > of complexity).
> > 
> > TBH, I don't really see the point. One Does Not Simply interrupt a
> > runnable, unless it is running in a dedicated process (which can be
> > killed).
> For example, the preparser must be "interrupted" if preparsing takes
> more than x seconds. It currently works that way with the background
> worker.

It's not a question of use case. It's a question of why the generic framework 
should have to care about a given aspect, consdering that the specific runnable 
will have to do the heavy lifting anyhow.

Rémi Denis-Courmont

More information about the vlc-devel mailing list