4.2 Creating RTLinux Threads
A realtime application is usually composed of several ``threads'' of execution. Threads are light-weight processes which share a common address space. In RTLinux, all threads share the Linux kernel address space. The advantage of using threads is that switching between threads is quite inexpensive when compared with context switch. We can have complete control over the execution of a thread by using different functions as will be shown in the examples following................................................................................
RTLinux HOWTO Table of Content
1. Introduction
- 1.1 Purpose
- 1.2 Who should read this HOWTO
- 1.3 Acknowledgement
- 1.4 Feedback
- 1.5 Distribution Policy
2. Installing RTLINUX
3. Why RTLinux
4. Writing RTLinux Programs
- 4.1 Introduction to writing modules
- 4.2 Creating RTLinux Threads
- 4.3 An example program
5. Compiling and Executing
6. Inter-Process Communication
- 6.1 Realtime FIFO
- 6.2 Application Using FIFO
7. What next

