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 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍?
helpful
11:03am Wed 23rd Aug, Christopher M.

"Jacob Read" <23*7*9*6@s*u*e*t*u*a*e*u*a*> wrote:
> Pretty sure we're not actually implementing the functions. We're just emulating them. So we don't need to call actual functions, we're just transferring them between queues and pretending to run them, which takes time on the "cpu". But we're just counting that time then moving onto the next process or moving something out of an IO queue. We're just doing stuff on the surface level. Like the sleep syscall will just move the process to a sleep queue, and the spawn syscall will just create a new "process". It never actually reads or writes anything, though. It's just going to have to work out the time it would take to read or write based on the speed and amount of data. So you're basically just keeping track of the time and working out what the system would need to do next for us its running process, sleeping processes or the process in the bus.
Great answer; thanks.

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