[sane-devel] USB device locking in the snapscan backend

m. allan noah kitno455 at gmail.com
Mon Feb 25 14:13:04 UTC 2008


but would it not achieve the same effect? is the backend really
written with two different threads/processes which need to coordinate
access to the device?

allan

On Sun, Feb 24, 2008 at 12:43 PM, Julien BLACHE <jb at jblache.org> wrote:
> "m. allan noah" <kitno455 at gmail.com> wrote:
>
>  Hi,
>
>
>  > it seems that on linux at least, if the device is left open, no other
>  > process can open it? this achieves the same effect, without any code
>  > at all.
>
>  That's not exactly the intended use of the mutex...
>
>
>
>  JB.
>
>  --
>  Julien BLACHE                                   <http://www.jblache.org>
>  <jb at jblache.org>                                  GPG KeyID 0xF5D65169
>
>  --
>  sane-devel mailing list: sane-devel at lists.alioth.debian.org
>  http://lists.alioth.debian.org/mailman/listinfo/sane-devel
>  Unsubscribe: Send mail with subject "unsubscribe your_password"
>              to sane-devel-request at lists.alioth.debian.org
>



-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list