[sane-devel] sanei_thread: pthread test on linux possible?

Henning Meier-Geinitz henning at meier-geinitz.de
Mon Jan 12 18:47:58 GMT 2004


Hi,

On Mon, Jan 12, 2004 at 07:34:27PM +0100, Oliver Rauch wrote:
> In the umax backend (forked reader process) I used a
> signal handler that catches sigkill and calls 
> sanei_scsi_req_flush_all();
> when the reader_process is killed. I am not sure if this
> is necessary but I think I did not add this just because of fun.
> Any ideas?

Try it and you may hang your SCSI system :-)
At least if you use multiple SCSI request at the same time a call to
sanei_scsi_req_flush_all() is necessary. Bu you can do that from the
main process, too.

Bye,
  Henning




More information about the sane-devel mailing list