HP-UX Process Management: White Paper
Chapter 1 Process Management
»
Technical documentation
Complete book in PDF
»
Table of Contents
Table of Contents
Objectives
What is a process?
Process Relationships
Process Context
Space apportioned to a Process
Handling maxdsiz with EXEC_MAGIC
Process States and transitions
What are Kernel Threads?
Comparison of Threads and Processes
Thread's Life Cycle
Multi-Threading
Thread Models
User-Space Threads (M x 1)
Kernel-Space Threads (1 x 1)
User-Space and Kernel-Space Threads (M x N)
POSIX Threads (pthreads)
Process creation
The
fork1()
Routine
The
newproc()
Routine
The procdup() Routine
Process Execution
The Routines of
exec
The
sleep*()
R outines
wakeup()
Process Termination
The
exit
System Call
wait System Call
Basic Threads Management
Thread Creation Overview
Thread Termination Overview
HP-UX Threads Extensions
Thread Synchronization
Signal Handling
Thread Cancellation
Process Management Structures
proc
Table
Kernel Thread Structure
vas
structure
Pregion Structure
Traversing
pregion
Skip List
User Structures (
uarea
)
Process Scheduling
Scheduling Policies
Schedulers
Scheduling Priorities
RTSCHED
Priorities
Run Queues
Run Queue Initialization
RTSCHED Run Queue
The Combined
SCHED_RTPRIO
and
SCHED_TIMESHARE
Run Queue
Thread Scheduling
Timeline
Thread Scheduling Routines
Adjusting a Thread Priority
Context Switching
The
swtch()
Routine
Process and Processor Interval Timing