[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: [rtl] reading a file





On Mon, 27 Jul 1998, maryam moghaddas wrote:

> Hi
> I have a task generator file, which generates a file includeing the information
> about the tasks, such as arrival times, start times and...
> I would like to give the output of the task generator as the input of rt_process.c
> My understanding is IO is kernel is different from IO in normal user space.
> I started writing my own rt_read and rt_open, but it seems not working + lots of
> work !
> What other ways do you suggest I open and read the input file?
> thanx a lot
> m
> 
> 


How about using a non-RT task that reads your input file and writes it to
an rt-fifo?  You can use a rt-handler to signal to your rt-process that
there is input.



--- [rtl] ---
For more information on Real-Time Linux see:
http://www.rtlinux.org/