Question: Another extract from the same C program is shown below. However, a co- operative multitasking operating system would not be able to move the pro-

Another extract from the same C program is shown below. However, a co- operative multitasking operating system would not be able to move the pro- cess from the Running to the Blocked state while this code was executing. Give a brief explanation of why a co-operative multitasking operating system would not be able to move the process between the two states and why a pre- emptive mutltiasking operating system would be able to. for (i = 3; i 0) { if(i >= a) { break; } for(j = i+1; j 0) { if(i >= a) { break; } for(j = i+1; j
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
