Skip to content

ruchi09/Visulalizing-Semaphores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unisex Bathroom Problem:

There is a Unisex Bathroom with the following synchronization constraints:

  • There cannot be men and women in the bathroom at the same time.
  • There should never be more than three employees squandering company time in the bathroom.

The solution should avoid deadlock.

Instructions to run:

  • Install Tkinter module using sudo apt-get install python-tk.
  • Run the program using python2 unisex.py.

Note: This program is compatible with python version < 3.0

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages