Please enable JavaScript.
Coggle requires JavaScript to display documents.
DEADLOCK, METHODS FOR HANDLING DEADLOCK, BANKER's ALGORITHM, n =>…
DEADLOCK
-
Two or more processes are said to be in deadlock if they are waiting for an event that would never occur.
-
BANKER's ALGORITHM
ALLOCATION
n*m matrix
ALLOCATION[i, j] = k means that Process i is currently allocated k instances of Resource j
NEED
n*m Matrix
NEED[i, j] = k means that Process i needs k instances of Resource j
NEED[ i, j ] = MAX[ i, j ] - ALLOCATION[ i, j ]
MAX
n*m matrix
MAX[ i, j ] = k indicates that Process i requires maximum k instances of Resource j
-
-