Introduction to Concurrency, Parallelism, and Threads
Learn about the basics of concurrency, parallelism, and threads in Python.
We'll cover the following...
A task is an activity that we carry out. For example, driving a car, watering a plant, and cooking food are all tasks. Though the words concurrency and parallelism indicate two or more tasks are happening at the same time, they are not the same.
Concurrency
When we perform multiple tasks intermittently, we are doing them concurrently ...