It's UWAweek 10 (1st semester, week 2)

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


 UWA week 37 (2nd semester, week 7) ↓
SVG not supported

Login to reply

👍?
helpful
5:00am Wed 13th Sep, Christopher M.

ANONYMOUS wrote:
> In the outline of code we were provided, there was a variable called MAX_RUNNING_PROCESSES. I used this variable for the sizes of ready, wait, sleep and blocked queues. I was wondering if this was correct of if I misinterpreted this value. > > What I thought it meant was the number of processes that have been spawned but not yet exited. Is this right?
Yes, that's the correct interpretation, and is intended to use as the maximum size of arrays and queues. In hindsight it should have been named MAX_CURRENTLY_LIVING_PROCESSES, or something(!), as, of course, only one process can only ever be running on the CPU.

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