NCS: Multi-Threaded Control Systems: Difference between revisions

From Murray Wiki
Jump to navigationJump to search
No edit summary
Line 1: Line 1:
{{cds270-2 header}} <!-- Generates the header, including table of contents and link back to main page -->
{{cds270-2 header}} <!-- Generates the header, including table of contents and link back to main page -->


<!-- Enter a 1 paragraph description of the contents of the lectureMake sure to include any key concepts, so that the wiki search feature will pick them up -->
Early control systems used carefully synchronized control loops to insure that control processes ran at a fixed clock cycle and with predictable timingModern multi-threaded control environments use much looser timing models and provide non-deterministic execution, but provide advantages in terms of programming flexibility and processor utilizationIn this lecture we focus on the  [[Pthreads]] programming environment, which provides a standardized API for managing process threads and mutexes (to resolve data access conflicts).
This is the template for CDS 270 lectures.  If you edit this page, you will see comments describing what goes in each section'''Do not edit this template.''' See [[CDS 270: Information for Lecturers]] for more information on how to create a wiki page corresponding to a lecture.


== Lecture Materials ==
== Lecture Materials ==
<!-- Include links to materials that you used in your lecture.  At a minimum, this should include a link to your lecture presentation.  You might also include links to MATLAB scripts or other source code that students would find useful -->
* [[Media:L2-1_pthreads.pdf|Lecture: Multi-Threaded Control Systems]] -->
<!-- Sample lecture link: * [[Media:L1-1_Intro.pdf|Lecture: Networked Control Systems: Course Overview]] -->


== Reading ==
== Reading ==

Revision as of 18:58, 26 March 2006

Prev: Spread Course Home Next: Alice Follow

Early control systems used carefully synchronized control loops to insure that control processes ran at a fixed clock cycle and with predictable timing. Modern multi-threaded control environments use much looser timing models and provide non-deterministic execution, but provide advantages in terms of programming flexibility and processor utilization. In this lecture we focus on the Pthreads programming environment, which provides a standardized API for managing process threads and mutexes (to resolve data access conflicts).

Lecture Materials

Reading

  • POSIX Threads Programming, Lawrence Livermore National Laboratory. 2006. This tutorial provides an introduction to Pthreads, the standard implementation of threads underl linux.

Additional Resources