4 ms·
Also from certain perspectives parallelism is achieved with threads during IO. So if 20 threads are making blocking IO calls, all 20 threads can make progress
by Geminidog 6y ago
Also from certain perspectives parallelism is achieved with threads during IO.
So if 20 threads are making blocking IO calls, all 20 threads can make progress on those IO calls in parallel while having an additional parallel thread doing compute operations yielding a total of 21 threads executing in parallel.
- nurettin 6y agoWe use "parallel" explicitly to mean "running on multiple cores scheduled by the kernel".
- Geminidog 6y agoYes, but "parallel" is also used in CS to specify multiple things happening at the same time including IO. https://www.wikiwand.com/en/Parallel_computing https://www.wikiwand.com/en/Parallel_computing Quote: "Parallel computing is a type of computation where many calculations or the execution of processes are carried out simultaneously." https://www.wikiwand.com/en/Parallel_communication https://www.wikiwand.com/en/Parallel_communication Quote: "In data transmission, parallel communication is a method of conveying multiple binary digits (bits) simultaneously. It contrasts with serial communication, which conveys only a single bit at a time; this distinction is one way of characterizing a communications link."