On Fri, 2014-08-29 at 08:10 -0400, m. allan noah wrote:
> Given that poll() is reported to be flaky on certain versions of OSX,
> we need to at least keep select() as an option.

Is it anything beyond that poll() on OS/X doesn't wake up on zero-sized
packets (a colleague mentioned this to me)? I mean I find a bunch of
stuff where poll() is really flaky on 10.4/Tiger but that's unsupported
since 2009 IIRC.

> 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?

/* 
 * This replacement poll() using select() is only designed to cover
 * our needs in run_standalone(). It should probably be extended...
 */

We'd need to figure out if there are use cases which go beyond what this
poll() implementation can do.

Nils
-- 
Nils Philippsen / Wilhelmstraße 22 / D-71229 Leonberg 
[email protected] / [email protected]
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: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to [email protected]

Reply via email to