This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: problem with layered drivers
- From: Michele Paselli <miguelon at tiscali dot it>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 7 Nov 2006 11:16:34 +0100 (CET)
- Subject: Re: [ECOS] problem with layered drivers
- Reply-to: Michele Paselli <miguelon at tiscali dot it>
- Xoriginalsenderip: 194.171.252.108
Hi Bernard,
could you please be more precise? Where can I find the open function
and how can I use that?
Thanks
Michele
>Hi.
>
>If you have enough room in your target, can you use open/select. It
>seems that the usual design is to have a thread doing a blocking read
on
>one or more uarts (if more than one, select() is needed), then send
the
>serial data to the destination threads according to the data content
or
>the uart that gave the data.
>
>So your actual data reading threads become message consumer threads,
fed
>by a thread that read the uart for everybody.
Bernard
Naviga e telefona senza limiti con Tiscali
Scopri le promozioni Tiscali adsl: navighi e telefoni senza canone Telecom
http://abbonati.tiscali.it/adsl/
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss