Scheduler Client Assignment
Jump to navigation
Jump to search
Code To Implement
class: | SchedulerClient.java | |
methods: | output | |
package: | scheduler.group | |
source folder: | student/src/main/java |
method: private static void output(Scheduler scheduler, int N)
(parallel implementation required)
Fork N tasks via scheduler.void_fork which print the indices [0..N).
Code To Run
Run SchedulerClient in the scheduler.group package (the file you are editing).
The output should look something like this (not necessarily in this order as it should be parallel).
0 3 2 1 4 5 6 7 8 9