Since the backends are mostly mid level drivers they should contain all
the scanner protocol information just as they do now. I just thought
that it would be nicer if the InterPorcess communication was somehow
(Thread | Process) handled by the SANE API and not by the backend
itself.
> The issue with fork() is that it's hard (inefficient) to implement on
> any system that doesn't have virtual memory. However, threads do not
> necessarily solve the problem either. E.g., on systems supporting
> user-level threads only (e.g., SunOS, HP-UX up to 10.20, etc.), a
> thread may not even help for SANE backends.
>
I thought OS/2 had virtual memory management. I am not sure though.
User level threads are out of the question if I understood you
correctly. You need kernel level threads in order to allow non blocking
access to frontend.
MF
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com