我上Concurrent Programming的时候,老师slide上面定义的并发和并行,供各位参考:
Parallelism vs Concurrency
Parallelism: Occurring physically at the same time
Concurrency: Occurring logically at the same time, but could
be implemented without real parallelism