List Info

Thread: Neither get_select_fd() nor non-blocking (astrand@cendio.se)




Neither get_select_fd() nor non-blocking (astrand@cendio.se)
user name
2006-10-31 02:31:47
    Force backend support non-blocking mode ? I don't think
it's a good idea. These work will be done more easily in
frontend than backend.
----- Original Message ----- 
From: <sane-devel-requestlists.alioth.debian.org>
To: <sane-devellists.alioth.debian.org>
Sent: Monday, October 30, 2006 8:42 PM
Subject: sane-devel Digest, Vol 16, Issue 34


> Send sane-devel mailing list submissions to
> sane-devellists.alioth.debian.org
> 
> To subscribe or unsubscribe via the World Wide Web,
visit
> http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> or, via email, send a message with subject or body
'help' to
> sane-devel-requestlists.alioth.debian.org
> 
> You can reach the person managing the list at
> sane-devel-ownerlists.alioth.debian.org
> 
> When replying, please edit your Subject line so it is
more specific
> than "Re: Contents of sane-devel digest..."
> 
> 
> Today's Topics:
> 
>   1. Neither get_select_fd() nor non-blocking
(astrandcendio.se)
> 
> 
>
------------------------------------------------------------
----------
> 
> Message: 1
> Date: Mon, 30 Oct 2006 08:51:07 +0100 (CET)
> From: astrandcendio.se
> Subject: [sane-devel] Neither get_select_fd() nor
non-blocking
> To: sane-devellists.alioth.debian.org
> Message-ID: <Pine.LNX.4.64.0610300842180.7290maggie.lkpg.cendio.se>
> Content-Type: text/plain; charset="utf-8"
> 
> 
> I've realized that backends might not provide neither a
file descriptor 
> for select() nor non-blocking mode. Why is this
allowed? I guess this 
> means that applications, such as xsane, must use a
separate thread or 
> process to read the data? IMHO, this puts a lot of
unnecessary burden on 
> the application programmer. How common is it with
backends with neither a 
> select FD nor non-blocking mode? How about adjusting
the standard so that 
> backends must at least support one of these?
> 
> Regards, 
> -- 
> Peter Ã.strand ThinLinc Chief Developer
> Cendio AB http://www.cendio.se
> Teknikringen 3
> 583 30 Linköping Phone: +46-13-21 46 00
> 
> ------------------------------
> 
> _______________________________________________
> sane-devel mailing list
> sane-devellists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
> 
> End of sane-devel Digest, Vol 16, Issue 34
> ******************************************
>-- 
sane-devel mailing list: sane-devellists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/sane-d
evel
Unsubscribe: Send mail with subject "unsubscribe
your_password"
             to sane-devel-requestlists.alioth.debian.org
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )