Do user created processes in C run parallel by linux on multi core systems?

161 views Asked by At

Do user created multiple processes in C (by fork command) run parallel on different CPUs by linux on multi core systems e.g, core i7?

I know that is the case with threads but want to be sure about the processes.

Thanks ALi Tariq Nagi

1

There are 1 answers

0
David Schwartz On

Yes. The Linux kernel scheduler behaves more or less the same regardless of whether the threads it's scheduling belong to the same process or different processes.