Reference no: EM132347644
There are 6 resources, A, B, F, G, I, O, each of which can be acquired and released. There are two resource-user (or thread) types S and T.
Each instance of S repeatedly executes this sequence:
It acquires I, then A, and then G.
It releases A and G.
It acquires B.
It releases I and then B.
Each instance of T repeatedly executes this sequence:
It acquires O, then G, and then F
It releases O
It releases G
It acquires A
It releases F and then A
a) How many instances of S does it take to create deadlock if there are no instances of T?
b) How many instances of T does it take to create deadlock if there are no instance of S?