Class UnitSemaphoreAccessLock


  • public class UnitSemaphoreAccessLock
    extends java.lang.Object
    Synchronizes a critical section of code so that only a single thread can access it at a time.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void enter()  
      void exit()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnitSemaphoreAccessLock

        public UnitSemaphoreAccessLock()
    • Method Detail

      • enter

        public void enter()
      • exit

        public void exit()