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 03:07:30 +0000
- Subject: Re: [ECOS] SIGIO signal
- References: <200403031341.i23DfOQ08850@mailgate5.cinetic.de>
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?
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