List of Examples
| Table of Contents | List of Figures | List of Examples | List of Tables |
- Example 2-1. Schematic of Using fork()
- Example 4-1. Using systune to Check Address Space Limits
- Example 4-2. Function to Lock Maximum Stack Size
- Example 5-1. Timer Initialization
- Example 6-1. Setting a Nondegrading Batch Priority
- Example 6-2. Displaying Tuning Variable ndpri_hilim
- Example 6-3. Setting a Real-Time Priority
- Example 6-4. Initiating Gang Scheduling
- Example 6-5. Setting the Time-Slice Length
- Example 6-6. Command to Assign Process to Processor Set
- Example 6-7. Setting the Clock CPU
- Example 6-8. Setting the fasthz CPU
- Example 6-9. Number of Processors Available and Total
- Example 6-10. Restricting a CPU
- Example 6-11. Assigning the Calling Process to a CPU
- Example 6-12. Making a CPU nonpreemptive
- Example 7-1. Skeleton of an Activity Process
- Example 7-2. Alternate Skeleton of Activity Process
- Example 7-3. Function to Set INJECTFRAME Exception Policy
- Example 7-4. Function to Set STRETCH Exception Policy
- Example 7-5. Function to Return a Sum of Exception Counts
- Example 7-6. Function to Set Frame Scheduler Signals
- Example 7-7. Minimal Activity Process as a Timer
- Example 7-8. Exporting Device Driver Entry Points
- Example 7-9. Device Driver Initialization Function
- Example 7-10. Device Driver Termination Function
- Example 7-11. Generating an Interrupt From a Device Driver
- Example 8-1. Initializing Asynchronous I/O
- Example 8-2. Polling for Asynchronous Completion
- Example 8-3. Set of Functions to Schedule Asynchronous I/O
- Example 8-4. Function to create a real-time file
- Example A-1. Program to Return Cycle Counter Precision
- Example A-2. Functions to Map and Read the Cycle Counter
- Example A-3. Program to Exercise gettimeofday()
- Example A-4. Producer/Consumer Program Test 1
- Example A-5. Producer/Consumer Program Test 2
- Example A-6. Producer/Consumer Program Demonstrating IPC Functions
- Example A-7. Program That Explores the Address Space
- Example A-8. Helper Functions for Using schedctl()
- Example A-9. Asynchronous I/O Example Program