Semaphore « java.util.concurrent « Java by API






1.new Semaphore(int permits, boolean fair)
2.Semaphore: acquire()
3.Semaphore: release()