Re: [PATCH]usblp read race

Tim Waugh <[email protected]>
Newsgroups gmane.linux.usb.devel
Organization Red Hat: Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903.
Message-ID <[email protected]>
On Mon, 2007-05-14 at 15:24 -0700, Pete Zaitcev wrote:
> Two remaining items are:
>  - Tim Waugh's ENOSPC like in drivers/char/lp.c

This can probably be done by having write() return as in the O_NONBLOCK
case when it detects out-of-paper, and by having usblp_poll() mark the
file descriptor with an event (POLLERR or something?).

Tim.
*/

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBGSbZaFLeBZ6VVmn8RAhdQAJsFAKRGfHf0WPeJ3PzTUtHxxKIcXACfdFH/
wSXXbvvsjq3RTTzcx+Hx9XQ=
=n8I5
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.