It's UWAweek 8

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 2 other people reading this forum.


 UWA week 35 (2nd semester, week 6) ↓
SVG not supported

Login to reply

👍?
helpful
4:07am Tue 29th Aug, Christopher M.

ANONYMOUS wrote:
> If a process running on the CPU exceeds the time quantum, it gets blocked. But how long does it get blocked for? Also, just to clarify: all syscalls sleep, write, and read result in the process being blocked right? Except for the spawn process.
We tend to use the word 'blocked' to mean that a process is waiting for a resource (such as I/O), or a time interval (sleeping), but not when simply waiting for its turn on the CPU. When a running process's time quantum expires, the process is appended to the tail of the Ready queue. How long it stays there will depend on how many processes are already in the Ready queue, and what they each do when next on the CPU. ____ Love the speed-dating analogy!

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy