Interface Semaphore

  • All Known Implementing Classes:
    NullSemaphore, SemaphoreImpl

    public interface Semaphore
    The simplest of semaphore interfaces.
    Author:
    Dave Bristor
    • Method Detail

      • acquire

        void acquire()
        Acquire a lock.
      • release

        void release()
        Release a lock.