Problems with
Concurrent Execution
ä Concurrent processes (or threads) often
need to share data (maintained either in
shared memory or files) and resources
ä If there is no controlled access to shared
data, some processes will obtain an
inconsistent view of this data
ä The action performed by concurrent
processes will then depend on the order in
which their execution is interleaved