This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: io_read
- From: "Sicheri Marco" <m dot sicheri at ctsgroup dot it>
- To: "eCos Discus.List" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 8 Oct 2004 17:27:37 +0200
- Subject: Re: [ECOS] io_read
- Organization: CTS electronics
- References: <010901c4ad48$b4ca3da0$110110ac@Msicheri> <20041008151913.GI28515@lunn.ch>
- Reply-to: "Sicheri Marco" <m dot sicheri at ctsgroup dot it>
Thanks Andrew, I had think to use the cyg_io_select (like uclinux) but I
don't found the cyg_io_select() doc. man cyg_io_select don't do....:o(
Please, (you are the angel) can you have the doc of this function? ^_*
If i don't read you email today: Good weekend!!
Ossequi, (Best Regards/Obrigado)
Marco SICHERI
CTS electronics - R&D Department
phone: +39 0125 235637, +39 0125 235630
e-mail: m.sicheri@ctsgroup.it
http://www.ctsgroup.it
----- Original Message -----
From: "Andrew Lunn" <andrew@lunn.ch>
To: "Sicheri Marco" <m.sicheri@ctsgroup.it>
Cc: "eCos Discus.List" <ecos-discuss@sources.redhat.com>
Sent: Friday, October 08, 2004 5:19 PM
Subject: Re: [ECOS] io_read
> On Fri, Oct 08, 2004 at 05:08:43PM +0200, Sicheri Marco wrote:
> > Hi All,
> >
> > the cyg_io_read function don't return until it don't 'read' a data.
> > How can I return after timeout? Or, How can I know if a data is in my
io?
>
> You can use cyg_io_select() to see if there is anything availabe on
> the handle.
>
> Andrew
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss