2 ms·
nothing happens at the same time on a single core Not always true. There are multiple levels of parallelism in modern CPUs and cores is only one of these, eg i
by dkersten 17y ago
nothing happens at the same time on a single core
Not always true. There are multiple levels of parallelism in modern CPUs and cores is only one of these, eg instruction-level parallelism, hyperthreading etc
Anyway, theres more to concurrent programming than doing multiple things at once in parallel - theres also the use of threads to turn a synchronous blocking call into an asynchronous one, like you said.