i have simple but not easy question
Can any computer (multi or single core) run many threads at the same time, the very same time, i mean two or more threads runs at the same time of execution ?
The capability of running multiple threads at the same time is the reason why multicore processors are being produced. It was getting more and more difficult to boost single-core CPU's efficiency due to various reasons. At the same time, as many threads as the number of cores/processors you have can be executed. If you have multiple multicore processors, the maximum number of threads running in parallel will be num_cpus*cores_per_cpu. If the number of threads exceeds the number of available cores, they will be executed interlaced.