Can a multi-core processor run multiple processes at the same time

multi-coreprocessthreads

I understand that a multi-core processor can run multiple threads of the same process at the same time using its different cores.
Can it also run multiple processes at the same time(each core running a different process)?

Best Answer

  • As far as the operating system and applications are concerned each core is a separate processor and is subject to the same affinity rules as having multiple processors.

    Which processor (be it real, core or hyperthreaded) a process runs on depends entirely on the operating system's scheduling system. It is this scheduling system (influenced by the affinity settings) which decides where a process should run and when. Processes and threads can switch between processors and cores at will as the scheduler sees fit.