r/eli5_programming • u/BoiElroy • Sep 25 '21
Explanation ELI5 multithreading vs multiprocessing
Explain like I'm 5 the difference between multi threading and multi processing. And maybe the concept of processor, core, threads :)
4
Upvotes
View all comments
Show parent comment
4
u/obp5599 Sep 25 '21
Uhhh no. This is wrong. Your cpu does not just run 1 process per core. You have hundreds of processes running at any given time. Please disregard this.
Its mostly to do with resources, two threads belonging to the same process will share the same program memory where as two processes are separate entities. You can see here for a better explanation