Concurrency & Communication

Multi-threaded applications may need to coordinate threads that share data or other resources. Different processes may need to coordinate with each other as well.

The sequence matters, in order to guarantee the results’ correctness. And meanwhile we definitely want to improve the performance.

So what are the common approaches for this? And what are the pros and cons?

Continue reading Concurrency & Communication