July 2019
Intermediate to advanced
410 pages
10h 32m
English
Whenever things/tasks are happening at the same time, we say that tasks are happening concurrently. In our programming language, whenever any parts of our program run at the same time, it is concurrent programming.
True parallelism is not possible on a single CPU machine because tasks are not switchable, as it has a single core. It only happens on a machine with multiple CPUs (multiple cores).
The potential for more than one thread to access the same shared data and update it with unpredictable results can be referred to as a race condition.
A concurrent ...
Read now
Unlock full access