Thread Functionality Flashcards

1
Q

A … is a fundamental element of the central processing unit (CPU)

A

thread

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Thread is generally composed of …

A

thread identification, a program counter, a set of registers, and a stack

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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]

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A thread should at least contain the following attributes:

A
  • 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
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

A unique value that identifies a thread when it calls a server

A

Thread ID

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

A set of register values and other volatile data that defines the execution state of a thread

A

Thread context

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The thread’s execution priority at any given moment

A

Dynamic priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The lower limit of the thread’s dynamic priority

A

Base priority

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The set of processors on which the thread can run

A

Thread processor affinity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

The cumulative amount of time a thread has executed in user mode and in kernel mode

A

Thread execution time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A flag that indicates whether a waiting thread may execute an asynchronous procedure call

A

Alert status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

The number of times the thread’s execution has been suspended without being resumed

A

Suspension count

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

A temporary access token allowing a thread to perform operations on behalf of another process

A

Impersonation token

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

An inter-process communication channel to which the process manager sends a message when the thread terminates

A

Termination port

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

The reason for a thread’s termination

A

Thread exit status

How well did you know this?
1
Not at all
2
3
4
5
Perfectly