Sven Geggus
27-10-2005, 08:46 PM
Hello embedded-linux folks,
I am kind of confuded how a piece of realtime code would look like using
Ingo Molnars CONFIG_PREEMPT_RT patch.
What would I need to make a process realtime. How would I be able to
generate a somewhat exact timing, e.g. for a control circuit. From the
perspective of a normal Linux system programming guy /dev/rtc comes
to mind.
For the realtime stuff, would it be enough to just use a negative nice-level
and a SCHED_FIFO policy?
Is there any kind of realtime programming Howto which I have not found
searching the web? Or is this just an exmple of another piece of fine but
undocumented work which is quite common in the Open-Source world?
Sven
--
This APT has Super Cow Powers.
(apt-get --help on debian woody)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web
I am kind of confuded how a piece of realtime code would look like using
Ingo Molnars CONFIG_PREEMPT_RT patch.
What would I need to make a process realtime. How would I be able to
generate a somewhat exact timing, e.g. for a control circuit. From the
perspective of a normal Linux system programming guy /dev/rtc comes
to mind.
For the realtime stuff, would it be enough to just use a negative nice-level
and a SCHED_FIFO policy?
Is there any kind of realtime programming Howto which I have not found
searching the web? Or is this just an exmple of another piece of fine but
undocumented work which is quite common in the Open-Source world?
Sven
--
This APT has Super Cow Powers.
(apt-get --help on debian woody)
/me is giggls@ircnet, http://sven.gegg.us/ on the Web