Question: *Create C Code to implement the following The Dispatch List is the list of processes to be processed by the dispatcher. The list is contained
*Create C Code to implement the following
The Dispatch List is the list of processes to be processed by the dispatcher. The list is contained in a text file that is specified on the command line. i.e.
>hostd dispatchlist
Each line of the list describes one process with the following data as a "comma-space" delimited list:
Thus,
12, 0, 1, 64, 0, 0, 0, 0 12, 1, 2, 128, 1, 0, 0, 1 13, 3, 6, 128, 1, 0, 1, 2
would indicate:
| 1st Job: | Arrival at time 12, priority 0 (Real-Time), requiring 1 second of c.p.u. time and 64 Mbytes memory - no i/o resources required. |
| 2nd Job: | Arrival at time 12, priority 1 (high priority User job), requiring 2 seconds of c.p.u. time, 128 Mbytes of memory, 1 printer and 1 CD drive. |
| 3rd Job: | Arrival at time 13, priority 3 (lowest priority User job), requiring 6 seconds of c.p.u., 128 Mbytes of memory, 1 printer, 1 modem, and 2 CD drives. |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
