[sane-devel] Question about non-blocking

Martijn van Oosterhout Martijn van Oosterhout <kleptog@svana.org>
Wed, 26 Feb 2003 09:30:08 +1100


--Xm/fll+QQv+hsKip
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

SANE supports a backend being non-blocking. Does that mean "don't ever
block" or "don't ever block for long periods of time"? For example, the
warming up of the lamp can take a while so you'd like to support non-block
for that. OTOH, we can't support non-block for the USB reads and writes. But
they don't take very long.

Is it acceptable to claim to support non-block if you block only for small
periods?
--=20
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Support bacteria! They're the only culture some people have.

--Xm/fll+QQv+hsKip
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+W+5wY5Twig3Ge+YRApHkAJ9YK/2t/ZzsCeLfmnyO6dnt1n9DdQCgropJ
6Zqk4izJkt89n/fwRRyQA1I=
=wK/G
-----END PGP SIGNATURE-----

--Xm/fll+QQv+hsKip--