>(1) required for OS/2 if fork() used in backend
I found that it is more efficient to use a secondary thread for the reader process: I have patched the umax
backend in SANE 0.73, moving the code
if (s->reader_pid == 0)
{ .... }
into a function called OS2ReaderProcess, and then calling _beginthread() to run it.
That's because the forked process doesn't inherit the semaphore used by AspiRout$, and also fork() is
very inefficient under OS/2. I'm doing the same changes in the mustek backend.
Bye,
Yuri Dario
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com