It's UWAweek 42 (2nd semester, week 12)

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


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍x1
helpful
10:45am Wed 23rd Aug, Jacob R.
✅ content verified by our teaching staff  

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.

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