Class Mutex


  • public class Mutex
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Mutex()  
    • Method Summary

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

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

      • Mutex

        public Mutex()
    • Method Detail

      • down

        public void down()
                  throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • up

        public void up()