[sane-devel] Q: threads and pipes

Oliver Rauch oliver.rauch@rauch-domain.de
Mon, 12 Jan 2004 19:42:42 +0100


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 t=
he
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

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