Class UnfairMutex

java.lang.Object
io.deephaven.base.UnfairMutex

public class UnfairMutex extends Object
  • Constructor Details

    • UnfairMutex

      public UnfairMutex(int spinsUntilPark)
    • UnfairMutex

      public UnfairMutex(int spinsUntilPark, int threadCapacity)
  • Method Details

    • lock

      public void lock()
    • unlock

      public void unlock()
    • getOwner

      public Thread getOwner()