[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [rtl] signals with RT linux
Jean-Paul Meynard wrote:
>
> Is there any way to send a signal(e.g. SIGUSR1) from a RT process to a non
> RT process ? I tried with kill and sigsend without being able to run the
> program properly.
> The underlying idea was to indicate to the non-RT process that the
> RT process has written something in the RT_FIFO.
> If I've set up another solution based on a thread, but I'm chasing after
> something nicer. Any suggestion ?
The way I do this is to have a non-RT process do a "select" on the
FIFO. With select you can either poll the FIFO or sleep until there is
data to read. This process then logs the data and re-transmits it via a
socket. It could also send a signal. This does cost you one extra process
but could have the effect you need.
--
--Chris Albertson
chris@topdog.logicon.com Voice: 626-351-0089 X127
Logicon RDA, Pasadena California Fax: 626-351-0699
--- [rtl] ---
For more information on Real-Time Linux see:
http://rtlinux.cs.nmt.edu/