Thinking concurrently (2.1.4) Flashcards

(2 cards)

1
Q

Concurrent programs

A

enables multi tasking
long tasks can happen alongside may small tasks
parallelism
allows for more tasks to be completed in a given time

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

However concurrent programs

A

can cause instability (unexpected dependencies between processes)
processes can end up waiting for another process to execute (deadlock)
overheads(scheduling requires its own CPU time)

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