Thread Functionality Flashcards
A … is a fundamental element of the central processing unit (CPU)
thread
Thread is generally composed of …
thread identification, a program counter, a set of registers, and a stack
A traditional process has a single thread of control, and if a process has multiple threads of control, it can perform more than one task at a time [T/F]
True
A thread should at least contain the following attributes:
- Thread execution state
- A saved thread context when not running
- Some per-thread static storage for local variables
- Access to the memory and resource of the process
- An execution stack
A unique value that identifies a thread when it calls a server
Thread ID
A set of register values and other volatile data that defines the execution state of a thread
Thread context
The thread’s execution priority at any given moment
Dynamic priority
The lower limit of the thread’s dynamic priority
Base priority
The set of processors on which the thread can run
Thread processor affinity
The cumulative amount of time a thread has executed in user mode and in kernel mode
Thread execution time
A flag that indicates whether a waiting thread may execute an asynchronous procedure call
Alert status
The number of times the thread’s execution has been suspended without being resumed
Suspension count
A temporary access token allowing a thread to perform operations on behalf of another process
Impersonation token
An inter-process communication channel to which the process manager sends a message when the thread terminates
Termination port
The reason for a thread’s termination
Thread exit status