Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banker's Algorithm #1579

Merged
merged 12 commits into from
Nov 4, 2024

Conversation

AshmitaBarthwal
Copy link
Contributor

@AshmitaBarthwal AshmitaBarthwal commented Nov 2, 2024

The Banker's Algorithm is a resource allocation and deadlock avoidance algorithm used in operating systems. It ensures that resources are allocated only if the system can stay in a safe state, meaning all processes can complete without causing deadlock. The algorithm checks if the requested resources can be granted by calculating a "safe sequence," where each process can obtain its maximum required resources and release them after completion. If such a sequence exists, the system is considered safe. Otherwise, the request is denied to avoid entering an unsafe state.

@AshmitaBarthwal
Copy link
Contributor Author

AshmitaBarthwal commented Nov 2, 2024

@pankaj-bind Please review my PR.
I am not getting why test deployment check is not successful, i tried many time to commit changes.

@pankaj-bind pankaj-bind merged commit 45fb558 into AlgoGenesis:main Nov 4, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants