Concurrent Programming Course note 1
What is concurrency
Systems of interacting computer programs which share resource and run concurrently.
parallelism and concurrency
Parallelism: Occurring physically at the same time.
Concurrency: Occurring logically at the same time.
synchronization
Process synchronization: Ensure the instructions are executed in certain order.
Synchronization is irrelevant if processes do not interact with each other.
Concurrency, and hence process synchronized, is useful only when processes interact with each other.
interaction
Share memory is kind of interact.