Multiprogramming: keeping several programs in memory so the CPU switches to another when one waits for I/O, improving utilization.
Multitasking (time-sharing): rapidly switching among tasks with time slices so users see them as running at once.
Multiprocessing: using more than one CPU or core to run tasks truly in parallel.
Multithreading: running several threads within one process. Concurrency means making progress on several tasks (possibly by interleaving), while parallelism means executing them at the same instant on different cores.
Loading…