Java Thread Lock releaseLock(final Lock lock)

Here you can find the source of releaseLock(final Lock lock)

Description

release Lock

License

Open Source License

Declaration

public static void releaseLock(final Lock lock) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.util.concurrent.locks.Lock;

public class Main {
    public static void releaseLock(final Lock lock) {
        lock.unlock();// w w  w . j a va2s  .c  o  m
    }
}

Related

  1. lock(Lock lock)
  2. lockAll(List locks)
  3. lockedSleep(Lock l, long time)
  4. newLinkedBlockingDeque(Collection collection)
  5. release()
  6. releaseReadLock(final ReadWriteLock lock)
  7. runSync(final Lock lock, final Runnable task)
  8. sleepNanos(long nanos)
  9. sleepRandomNanos(Random random, long maxDelayNanos)