[sane-devel] Use poll() instead of select() in backends
Alessandro Zummo
azummo-lists at towertech.it
Thu Aug 28 22:19:31 UTC 2014
On Thu, 28 Aug 2014 17:58:52 +0200
Nils Philippsen <nils at tiptoe.de> wrote:
> I think we should at least default to using poll() (so LO and possibly
> OO don't crash if they use SANE and a networked scanner), but if we
> don't support platforms that don't have it it's much less clutter to
> ditch select() and replace it with poll() completely. Otherwise it's
> something that should maybe be abstracted away in sanei.
>
> What's your opinion?
Well, I'd add a check to the select call. But if you have a working
patch with poll() I'll gladly check it ;)
--
Best regards,
Alessandro Zummo,
Tower Technologies - Torino, Italy
http://www.towertech.it
More information about the sane-devel
mailing list