[sane-devel] Q: threads and pipes

Oliver Rauch oliver.rauch at rauch-domain.de
Mon Jan 12 18:42:42 GMT 2004


Hello.

Does anyone know how pipes have to be handled with threads?!

when fork() is used then I close the read end in the reader_process and the
write end in the main process. Should I also do this when working with
threads or should I keep both ends opened ind both treads?

Oliver

-- 
http://www.xsane.org
http://www.mostang.com/sane
http://www.rauch-domain.de
mailto:Oliver.Rauch at Rauch-Domain.DE




More information about the sane-devel mailing list