mirror of
https://github.com/Comp211-SP24/lab-06-Rushilwiz.git
synced 2025-04-18 18:20:17 -04:00
fixed extra print
This commit is contained in:
parent
d62a046f5c
commit
a3fc714ffc
|
@ -21,8 +21,6 @@ void run_with_quantum(task_struct* task, unsigned int quantum) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void fcfs() {
|
void fcfs() {
|
||||||
printf("Running FCFS\n");
|
|
||||||
|
|
||||||
while (get_task(0) != NULL) {
|
while (get_task(0) != NULL) {
|
||||||
run_to_completion(remove_task(get_task(0)->pid));
|
run_to_completion(remove_task(get_task(0)->pid));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user