[sane-devel] Use poll() instead of select() in backends

m. allan noah kitno455 at gmail.com
Fri Aug 29 12:10:16 UTC 2014


Given that poll() is reported to be flaky on certain versions of OSX,
we need to at least keep select() as an option. saned.c has a private
poll() implementation which uses select, perhaps it could be
re-used/extended somewhere in sanei, for those platforms that need it?

allan

On Fri, Aug 29, 2014 at 7:38 AM, Nils Philippsen <nils at tiptoe.de> wrote:
> On Fri, 2014-08-29 at 12:32 +0200, Alessandro Zummo wrote:
>> On Fri, 29 Aug 2014 12:23:20 +0200
>> Nils Philippsen <nils at tiptoe.de> wrote:
>>
>> > I wanted to sound out what would be acceptable -- I for myself would
>> > just drop select() for poll() wholesale to be on the safe side, but as I
>> > said, I'm not sure if we are supporting platforms that don't have
>> > poll().
>>
>>  my own opinion is that if a platform has no poll() it doesn't deserve
>>  our support. But I'm not the ring leader here ;)
>
> Ah, I'm very interested in the opinion of the ring leader :).
>
> --
> Nils Philippsen / Wilhelmstraße 22 / D-71229 Leonberg
> nils at tiptoe.de / nils at redhat.com
> PGP fingerprint:  C4A8 9474 5C4C ADE3 2B8F  656D 47D8 9B65 6951 3011
> Ever noticed that common sense isn't really all that common?
>
>
> --
> sane-devel mailing list: sane-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
> Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org



-- 
"well, I stand up next to a mountain- and I chop it down with the edge
of my hand"



More information about the sane-devel mailing list