alokasi memori
Proses Resource Max Alloc Need A B C A B C A B C P0 7 5 3 0 1 0 7 4 3 P1 3 2 2 2 0 0 1 2 2 P2 9 0 2 3 0 2 6 0 0 P3 2 2 2 2 1 1 0 1 1 P4 4 3 3 0 0 2 4 3 1 Total Alloc 7 2 5 Resource A B C 10 5 7 7 2 5 - 3 3 2 Matrik Need Urutan Proses P1 5 3 2 <P1, P4, P3, P0, P2> P4 5 3 4 P3 7 4 5 P0 7 5 5 P2 10 5 7 Recues P4 ( 3 3 0 ) heru susanto Proses Resource Max Alloc Need A B C A B C A B C P0 7 5 3 0 1 0 7 4 3 P1 3 2 2 2 0 0 1 2 2 P2 9 0 2 3 0 2 6 0 0 P3 2 2 2 2 1 1 0 1 1 P4 4 3 3 3 3 2 7 6 1 Total Alloc 10 5 5 Resource A B C 10 5 7 10 5 5 - 0 0 2 Matrik Need P0 Deadlock P1 Deadlock P2 Deadlock P3 Deadlock P4 Deadlock Urutan Proses <Deadlock>