|
Blog捲:
This example shows how to call the functions when an interrupt is triggered from hardware such as timer chips, printers, disk drives, Ethernet controllers, etc. Shared Memory Communication Shared Memory is an efficient means of passing data between programs. This example explains how the RT Linux tasks and normal Linux processes pass data using the Shared Memory. Semaphores To restrict the simultaneous access to the resources we can use Semaphores. This example explains how to achieve this. RC Airplane Servomotor Control This example demonstrates how to control a pair of radio-controlled (RC) airplane servomotors via the parallel port using the GUI. LED Wand Clock This Fantazein LED wand clock example demonstrates the implementation of tasking, FIFO and interrupt service routines. Determining Stack Size This example demonstrate how to determine the stack size, this helps to allocate the stack size efficiently. Measuring Timing Jitter In real time code it is important to quantify timing uncertainty and derive its impact. This example describes that with a pure periodic task, using the Pentium's built-in Time Stamp Counter (TSC). Floating Point in RT Tasks This example demonstrates the use of floating-point math in real time tasks. Data Consistency Techniques This supplementary material describes various data consistency techniques used to protect the shared data structures. In this supplementary material talks about data consistency techniques such as Dekker's- and Peterson's Algorithms, N-Process Mutual Exclusion using Hardware, N-Reader, 1-Writer Mutual Exclusion using Head/Tail Flags, Semaphores, Mutexes etc. Popularity: 3% [?] Related Posts: Tags for this post>> Linux No Comments »No comments yet. RSS feed for comments on this post. Leave a commentYou must be logged in to post a comment. Powered by WordPress |





























