Skip to content

This project demonstrates deadlocks in an operating system, along with prevention and avoidance of dead lock

License

Notifications You must be signed in to change notification settings

Padmashree06/Deadlock

Repository files navigation

Deadlock

This project demonstrates deadlocks in an operating system along with prevention and avoidance of deadlock.

To Run:

Clone the repository

git clone https://github.com/Padmashree06/Deadlock.git
cd Deadlock

For deadlock simulation

g++ deadlock_simulation.cpp -o deadlock_simulation -pthread
./deadlock_simulation

For deadlock prevention

g++ deadlock_prevention.cpp -o deadlock_prevention -pthread
./deadlock_prevention

For deadlock avoidance

g++ deadlock_avoidance.cpp -o deadlock_avoidance -pthread
./deadlock_avoidance

🤝 Contributing

We welcome contributions! Please see our Contributing Guidelines for details.

Fork the repository
Create your feature branch
Commit your changes
Push to the branch
Create a Pull Request

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

This project demonstrates deadlocks in an operating system, along with prevention and avoidance of dead lock

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages