[ECOS] SIGIO signal

Ricardo Andrino ricardo_andrino@web.de
Thu Mar 4 08:17:00 GMT 2004

Jonathan Larmour <jifl@eCosCentric.com> schrieb am 04.03.04 04:07:33:
> Ricardo Andrino wrote:
> > Hello,
> > 
> > I would like to know what packet should i add or what feature should i
> > enable to use the signal SIGIO in my program.
> eCos itself doesn't raise SIGIO, so unless you generate it yourself it 
> won't happen. You can feel free to raise it yourself though - you could 
> have a separate thread that does a select() and sends SIGIO when something 
> is ready.
> > I would like to know too
> > how could i have ECHO when using the write() function? I am using POSIX
> > functions and i have ECHO when reading from a port but not when writing
> > on it. How could i make it?
> This doesn't make sense to me. If you're already write()ing to the file 
> descriptor, where are you wanting the echo to go to?

I am making an application that always after the read() function calls a state machine:
so when i call the write() function the state machine should go forward and the possibility that i have seen is to use echo when writing.I could make it with ECHO when reading but i would like to know the other one.

I don't know if i have explained myself good, sorry if i don't.

Thanks in advance.

> Jifl
> -- 
> eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
>  >>>>> Visit us in booth 2527 at the Embedded Systems Conference 2004 <<<<<
> March 30 - April 1, San Francisco http://www.esconline.com/electronicaUSA/
> --["No sense being pessimistic, it wouldn't work anyway"]-- Opinions==mine

Extra-Konto: 2,50 %* Zinsen p. a. ab dem ersten Euro! Nur hier mit 25
Euro-Tankgutschein & ExtraPrämie! https://extrakonto.web.de/?mc=021110

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