This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: problem with layered drivers


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]