Enjoy Slackware 15.0!

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
howtos:software:rtai [2018/03/06 23:14 (UTC)]
bifferos created
howtos:software:rtai [2018/03/08 13:22 (UTC)]
bifferos [Example Program]
Line 9: Line 9:
 ===== Introduction ===== ===== Introduction =====
  
-RTAI is a system that allows your operating system to run so-called 'hard' realtime tasks.  By 'hard' we mean that it isn't just 'best effort' it really will do +RTAI is a system that allows your Linux operating system to run so-called 'hard' realtime tasks.  By 'hard' we mean that it isn't just 'best effort' it really will do 
 something regularly, to a schedule dictated by you, no matter how heavily loaded the system.  RTAI comes in two parts:  a set of patches for your kernel and a library you can link your programs against which allows them to become realtime tasks.  It may feel like you're running your program under Linux just like any other normal user-mode program, however under the hood you are taking full control of the hardware, and any other processes will only run as the remaining CPU time permits. something regularly, to a schedule dictated by you, no matter how heavily loaded the system.  RTAI comes in two parts:  a set of patches for your kernel and a library you can link your programs against which allows them to become realtime tasks.  It may feel like you're running your program under Linux just like any other normal user-mode program, however under the hood you are taking full control of the hardware, and any other processes will only run as the remaining CPU time permits.
  
 +<note>The above is a gross over-simplification of what is actually happening and is simply a lay-person's introduction.  Please investigate the RTAI documentation for discussion of things like jitter, latency and so on</note>
 ===== Getting RTAI ===== ===== Getting RTAI =====
  
Line 204: Line 205:
                                                  
 clean:: clean::
- $(RM) -f act *~      + $(RM) -f rtai-example *~      
                                                                  
 .PHONY: clean .PHONY: clean
 </code> </code>
  
-**TO BE CONTINUE....**+And here is the demo program, rtai-example.c:
  
 +<code>
 +TODO
 +</code>
  
 ===== Dedication ===== ===== Dedication =====

In Other Languages
QR Code
QR Code howtos:software:rtai (generated for current page)