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
12:30pm Thu 24th Aug, Christopher M.

ANONYMOUS wrote:
> So with the commands file, are all the commands loaded into the ready queue all at once, then you start executing with the first one i.e., shortsleep in this case
No, that's incorrect. The commands in the commands-file are akin to all the *available* executable programs on your laptop's disk. When you boot up your laptop they do not all start running, only the ones you request to run (with spawn/fork/exec...) become processes. Further, the project sheet says: "Having read both the sysconfig file and the command file, the system 'automatically' commences by executing the first command in the command file (here that would be the shortsleep command - a quite boring system!)"
> Also when it comes to spawning processes, such as 'cal' in 'shell', is it always the case that the parent process waits for the child process to complete?
No; a (child) process may terminate without its parent waiting for it.

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