Concurrency and Deadlocks Flashcards
It is the management of multiple processes within a uniprocessor system
Multiprogramming
It is the management of multiple processes within a multiprocessor
Multiprocessing
It is the management of multiple processes executing on multiple distributed computer systems
Distributed processing
The basic requirement to support concurrent processes is the ability of a program to enforce …
mutual exclusion
which pertains to the ability to execute all other other processes from a course of action while one (1) process is granted that ability.
mutual exclusion
is an application performance technique that encompasses the ability to load and execute multiple runnable programs
Concurrency
Concurrency can be viewed based on the following context:
- Multiple applications
- Structured applications
- Operating system structure
It is a function or an action implemented as a sequence of one (1) or more instructions that appear to be individisible, wherein no other process can see an intermediate state or interrupt the operation.
Atomic operation
It is a section of code within a process that requires access to shared resources, and must not be executed while other process is in a corresponding section of code.
Critical section
It is a situation in which multiple threads or processes read and write a shared data item, and the final results depends on the relative timing of their execution
Race condition
It is a situation in which a runnable process is overlooked indefinitely by the scheduler. Although the process is able to proceed, it is never chosen.
Starvation