Concurrency Flashcards

1
Q

Concurrency Definition

A

multiple independent loci (processes, threads) running at the same time and interacting over shared resources

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

Loci

A

Locus but multiple; people, actors, processes

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

Locus

A

a lifeline; life; i am an independant locus of computation

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

Thread

A

independant locus of computation, realized as a sequence of instructions with own program counter

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

Scheduler

A

method for selecting which thread to run from the pool of active threads

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

Parallel Execution

A

the ability to apply multiple CPU and I/O resources to the execution of a single database operation.

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

Concurrency in software is important for….

A
  1. Modelling concurrency in the real-world
  2. Responsive software to user input
  3. For utilizing computing resources
How well did you know this?
1
Not at all
2
3
4
5
Perfectly