Concurrency Flashcards
1
Q
Concurrency Definition
A
multiple independent loci (processes, threads) running at the same time and interacting over shared resources
2
Q
Loci
A
Locus but multiple; people, actors, processes
3
Q
Locus
A
a lifeline; life; i am an independant locus of computation
4
Q
Thread
A
independant locus of computation, realized as a sequence of instructions with own program counter
5
Q
Scheduler
A
method for selecting which thread to run from the pool of active threads
6
Q
Parallel Execution
A
the ability to apply multiple CPU and I/O resources to the execution of a single database operation.
7
Q
Concurrency in software is important for….
A
- Modelling concurrency in the real-world
- Responsive software to user input
- For utilizing computing resources