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