A safe state can only be defined relative to stated
maximum resource needs of each process. A state is
safe if it is possible for all processes to finish
from that state, assuming that each process will
eventually request its maximum amount of resources.