mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-26 10:00:45 +00:00
Added mutex and semaphore modules to demonstrate locks
Added two modules to demonstrate locks. Mutex demonstrates a simple mutual exclusion lock. Semaphore demonstrates a semaphore for controlling access to a pool of resources. The main class of both programs is App.java.
This commit is contained in: