Difference between multitasking, multithreading and multiprocessing?

后端 未结 24 2323
小鲜肉
小鲜肉 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:41

    Multiprogramming- Jobs to be executed are loaded into a pool. Some number of those jobs are loaded into main memory, and one is selected from the pool for execution by the CPU. If at some point the program in progress terminates or requires the services of a peripheral device, the control of the CPU is given to the next job in the pool. As programs terminate, more jobs are loaded into memory for execution, and CPU control is switched to another job in memory. In this way the CPU is always executing some program or some portion thereof, instead of waiting for a printer, tape drive, or console input

    Multiprocessing - the simultaneous execution of two or more programs or instruction sequences by separate CPUs under integrated control

    multitasking System - the concurrent or interleaved execution of two or more jobs by a single CPU.

    Multiusers System - a computer system in which multiple terminals connect to a host computer that handles processing tasks.

提交回复
热议问题