I am trying to understand how a banker's algorithm works. I have an example of how it works on my university slides, but I am not sure why one of processes (in my case P4
) has been skipped. Should it not be checked like this at this point? Did I misunderstand something?
P4 [3,2,2,3] <= [4,4,2,3]
My answer:
Answer from university slides: