Interface Semaphore
-
- All Known Implementing Classes:
NullSemaphore
,SemaphoreImpl
public interface Semaphore
The simplest of semaphore interfaces.- Author:
- Dave Bristor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
acquire()
Acquire a lock.void
release()
Release a lock.
-