An Introduction to Concurrency
Let's begin our learning by getting familiar with the basics of concurrency.
What is concurrency?
Concurrency, by definition, is the ability to break down a computer program or algorithm into individual parts, which can be executed independently. The final outcome of a concurrent program is the same as that of a program which has been executed sequentially. Using concurrency, we are able to achieve the same results in lesser time, thus increasing the overall performance and efficiency of our programs.
The trick with writing concurrent programs is to ensure the correctness of your program yourself. Therefore, keep in mind that all the individual ...