Resource allocation graphs represent the free resources, resources assigned to processes, and processes requesting to be assigned resources.
The vertices of the resource allocation graph are used to represent:
The edges of the resource allocation graph are used to represent:
Consider the table below, which shows the resources assigned to processes, as well as processes requesting to acquire resources:
Process | Is assigned | Is requesting |
Process 1 | Resource 1, 2 | Resource 3 |
Process 2 | Resource 3 | |
Process 3 | Resource 3, 4 | Resource 2 |
The resource allocation graph of the above table will be as follows:
Free Resources