Java java.util.concurrent.locks LockSupport fields, constructors, methods, implement or subclass

Example usage for Java java.util.concurrent.locks LockSupport fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util.concurrent.locks LockSupport.

The text is from its open source code.

Method

voidpark()
Disables the current thread for thread scheduling purposes unless the permit is available.
voidpark(Object blocker)
Disables the current thread for thread scheduling purposes unless the permit is available.
voidparkNanos(long nanos)
Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available.
voidparkNanos(Object blocker, long nanos)
Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available.
voidparkUntil(long deadline)
Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available.
voidunpark(Thread thread)
Makes available the permit for the given thread, if it was not already available.