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
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
3
Q
How to maintain data consistency?
A
Maintaining data consistency requires mechanisms to ensure the orderly execution of cooperating processes
4
Q
A