![]() ![]() By definition, a blocked process is not currently running on the CPU. Blocked processes are unblocked by the scheduler and either placed back on the ready queue or swapped out of main memory (suspended). Since I/O operations are privileged and require switching to kernel mode, the process must wait for the CPU to attend to those tasks before it can resume execution. Usually, that event is some input/output (I/O) operation. If a process still has work remaining when it is taken off the CPU by the scheduler, it may be put back on the ready queue for re-scheduling at a later time alternatively, it may be suspended.īlocking: A process that is blocked is waiting on the completion of a certain event. Processes line up in the ready queue as they arrive. Ready queue: A queue of all processes that are waiting to be scheduled to run on the CPU. Thus, schedulers may decide to swap out idle processes from memory onto the disk to temporarily free up space for other processes. Suspension: A computer has a limited amount of main memory. ![]() Those resources are usually a computer’s CPU and main memory. Scheduler: A special system program that manages the allocation of resources to processes. ![]() Before proceeding, make sure you understand the following terms: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |