top of page
Search
understandingdevop

What is multiprocessing?

Updated: May 17, 2020

Let's say two users are logged in on the same server, both users want to edit files. Now if I have a single-core CPU, then actually operating system executes one process at a time and puts other processes in the interrupted or paused state keeping in mind, it should be resumed later and other processes should be executed for some time and again after some time, it resumes the earlier paused process and interrupt the current process. This is called Context Switching.

The process of pause and resume is carried out by Scheduler. So here an operating system is executing only one process at a time and after some time executing another process, this happens so fast that we think it's actually multiprocessing.





7 views0 comments

Comentarios


Post: Blog2_Post
bottom of page