[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:software:rtai [2018/03/06 23:14 (UTC)] – [Introduction] bifferoshowtos:software:rtai [2018/03/08 13:22 (UTC)] (current) – [Example Program] bifferos
Line 12: Line 12:
 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 =====
 howtos:software:rtai ()