Difference between multitasking, multithreading and multiprocessing?

后端 未结 24 2392
小鲜肉
小鲜肉 2020-12-12 10:08

Whats the difference between multitasking, multiprogramming & multiprocessing

This comes regularly for my university OS exams and I can\'t find a good answer. I

24条回答
  •  悲哀的现实
    2020-12-12 10:40

    Basically Multi-programming is a concept where you run more than one program simultaneously, suppose you run two programs like chrome(browser) and calculator(system application).

    Multi processing is where a user uses more than one processor to accomplish a task.

    To know Multi threading we need to know what is a thread. A thread is basically a part of a program running within the program. Best example of thread is the tabs of a browser. If you have 5 tabs which are being opened and used then the program actually creates 5 threads of the program, this concept is called multi-threading.

提交回复
热议问题