[sane-devel]  pthread support
    Rolf Bensch 
    rolf at bensch-online.de
       
    Fri Aug  9 09:10:59 UTC 2013
    
    
  
Hi List,
Why is pthread disabled by default for Linux?
I'm just busy implementing SANE_STATUS_NO_DOCS for sane_read() in the
Pixma backend.
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.
Cheers,
Rolf
    
    
More information about the sane-devel
mailing list