Networks and Operating Systems - Process Management: Threads

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

flashcard set

Earn XP

Description and Tags

A collection of flashcards covering key vocabulary and concepts from the lecture on threads, concurrency, and parallelism in operating systems.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

Thread

A basic unit of CPU utilization that consists of a thread ID, a program counter, a register set, and a stack; threads can share code and resources within the same process.

2
New cards

Concurrency

The property of a system where two or more tasks can start, run, and complete in overlapping time periods.

3
New cards

Parallelism

The simultaneous execution of two or more tasks (multiple CPUs/cores) where tasks run at the same time.

4
New cards

Sequential Execution

A form of execution where one task must complete before another can begin, processing one at a time.

5
New cards

Multithreading

A programming paradigm that allows for the concurrent execution of more than one sequential set of instructions, or thread.

6
New cards

BLOCKED State

A state where a thread is waiting for a monitor lock and cannot proceed until it acquires the lock.

7
New cards

RUNNABLE State

A state in which a thread is currently executing on the CPU, having received processor time.

8
New cards

TIMED_WAITING State

A waiting state where a thread is waiting for another thread to perform an action for a specified time interval.

9
New cards

TERMINATED State

The state of a thread that has completed its execution successfully or has been terminated due to an error.

10
New cards

Java Thread Library

The API that provides the ability for Java programs to implement threads and manage their execution.

11
New cards

CPU Time Slicing

The operating system's method of sharing CPU time among multiple tasks to achieve concurrent execution.