4 ms·
There are multiple paths of execution your code but they are never running concurrently. Only the underlying I/O is really executing concurrently with your code
by spullara 15y ago
There are multiple paths of execution your code but they are never running concurrently. Only the underlying I/O is really executing concurrently with your code.
- ww520 15y agoMultiple paths of execution is concurrency. I guess what you intended to mean was parallelism, which is different from concurrency. A multi-threaded program running on a single core system has only one path executed at any given time, but we still call it a concurrent program.
- spullara 15y agoConcurrency is a superset and includes parallelism. What we both really mean is that it uses at most one core at a time to execute your code. http://en.wikipedia.org/wiki/Concurrency_(computer_science) http://en.wikipedia.org/wiki/Concurrency_(computer_science)