[ECOS] Re: select doesn't work on stdin?

Gary Thomas gary@mlbassoc.com
Thu Nov 15 21:33:00 GMT 2012


On 2012-11-15 14:16, Ken Yee wrote:
> I was about to put a bug in the ecos bug database and found this:
>    http://bugs.ecos.sourceware.org/show_bug.cgi?id=21968
>
>  From 2001???   Wow :-O
> I guess no one puts command shells on stdin/stdout in their embedded environments :-P
>

Have you tried using a serial port (not the diagnostic console)?

The problem with the diag port is that it is blocking which does
not play nice with select()

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list