Skip to content

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

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages