What’s the difference between multiprocessing and multithreading?

325 views

What’s the difference between multiprocessing and multithreading?

In: 194

17 Answers

Anonymous 0 Comments

computers work by processing information. very fast.

Imagine you are drawing AND coloring illustrations on a book.
You can only draw/color with one pencil/brush, but you could work on more than one page, drawing all the “trees” or all the “suns, etc, without having to change from pencil to colors.

Your table (the memory) can have many different open pages, and you (the Central processing Unit/CPU) can get organized and work faster.

This is an ELI5 example of multithreading.

Add another “hand” working at your table, decide who’s drawing and who’s colouring, and that’s an ELI5 example of multiprocessing

You are viewing 1 out of 17 answers, click here to view all answers.