ch6 - basics Flashcards

Synchronization Tools (4 cards)

1
Q

True / False

Processes may be interrupted at any time, even if partially completing execution

A

True

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

what leads to data inconsistency?

A

preemptive + shared data = concurrent access to shared data -> if not synchronized it may lead to inconsistency

for instance, if one process reads before the other changes the value of a shared variable

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

How to maintain data consistency?

A

Maintaining data consistency requires mechanisms to ensure the orderly execution of cooperating processes

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