It's UWAweek 19

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 19 other people reading this forum.


SVG not supported

Login to reply

👍?
helpful
12:02pm Wed 30th Aug, ANONYMOUS

I have been experimenting with different command-files with the sample solution and have a few questions regarding the wait system call. I understand that if wait is called when there are no child processes left, the process will be put back on the ready queue. In the sample solution, if there are no processes in the ready queue, the process that called wait is still put back into the ready queue and then back into running consuming a total of 15 usecs. Is this what is meant to happen? I had assumed that if there were no processes in the ready queue, the process that called wait would just keep running until the time quantum is reached. (It seemed terribly inefficient to move the process off the running state just to put it back in again).

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  8:08AM Aug 25 2024
Privacy policy