[sane-devel] pthread support
rolf at bensch-online.de
Fri Aug 9 09:10:59 UTC 2013
Why is pthread disabled by default for Linux?
I'm just busy implementing SANE_STATUS_NO_DOCS for sane_read() in the
By default sane_start() forks a child process which handles the scan
procedure. So there is no chance for sane_read() to fetch the device
status without additional overhead for shared memory, pipes, etc. With
enabled pthread sane_read() can fetch the device status.
Many thanks for your help in advance.
More information about the sane-devel