This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: SIGIO signal
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Ricardo Andrino <ricardo_andrino at web dot de>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 04 Mar 2004 16:07:07 +0000
- Subject: Re: [ECOS] SIGIO signal
- References: <200403040817.i248H0Q22840@mailgate5.cinetic.de>
Ricardo Andrino wrote:
Jonathan Larmour <jifl@eCosCentric.com> schrieb am 04.03.04 04:07:33:
Ricardo Andrino wrote:
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:
while(1)
{
read();
statemachine();
}
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.
Sorry, you've lost me. You can echo when reading, but there's nothing to
echo with writing, partly because it doesn't really make sense.
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
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss