Vault sync: 2022-01-26 14:59:31
This commit is contained in:
parent
4f9e9f52f4
commit
c3b7a95346
@ -75,7 +75,14 @@ Unlike parallelism, concurrency is not always about running faster.
|
|||||||
Useful for:
|
Useful for:
|
||||||
- App responsiveness.
|
- App responsiveness.
|
||||||
- Processor utilization (hide IO time)
|
- Processor utilization (hide IO time)
|
||||||
- Failure isolation
|
- Failure isolation (interleaving multiple tasks, a exception on one task will not bring down the rest)
|
||||||
|
|
||||||
|
# Abstraction in Concurrency
|
||||||
|
Concurrent program consists of a finite set of (sequential) processes.
|
||||||
|
|
||||||
|
Processes are written using a finite set of statements.
|
||||||
|
|
||||||
|
Execution of concurrent program proceeds by exec
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user