Write a multithreaded program that implements the banker's algorithm. Create n threads that request and release resources from the bank. The banker will grant the request only if it leaves the system in a safe state. It is important that shared data be safe from concurrent access. To ensure safe access to shared data, you can use mutex locks.
-
Notifications
You must be signed in to change notification settings - Fork 0
Jnanashish/Banker-s-algorithm-Operating-System-
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Assignment of operating system
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published