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


SVG not supported

Login to reply

👍?
helpful
5:55pm Thu 24th Aug, ANONYMOUS

Hello, I have a question about spawning processes. If I have a command called "command1" for example, and it has a system call that spawns "command2", it would be easier for us (with the system that we're thinking of using) to have "command2" be defined before "command1" in the command file. Are we allowed to assume that when a spawn syscall is used in the command file, the command is already defined earlier in the command file? It might be confusing to understand what I'm trying to write. Here's some example command files (this thing won't let me use tabs, so I'm using 4 spaces): command1 10usecs spawn command2 command2 10usecs sleep 1000usecs In the above command file, command1 calls command2, however, command2 is defined after command2. command2 10usecs sleep 1000usecs command1 10usecs spawn command2 In this command file, command1 calls command2, and command2 is defined before command1. Am I allowed to assume that command files will be similar to the 2nd example?

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