Example usage for Java java.util.concurrent.locks LockSupport fields, constructors, methods, implement or subclass
The text is from its open source code.
void | park() Disables the current thread for thread scheduling purposes unless the permit is available. |
void | park(Object blocker) Disables the current thread for thread scheduling purposes unless the permit is available. |
void | parkNanos(long nanos) Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available. |
void | parkNanos(Object blocker, long nanos) Disables the current thread for thread scheduling purposes, for up to the specified waiting time, unless the permit is available. |
void | parkUntil(long deadline) Disables the current thread for thread scheduling purposes, until the specified deadline, unless the permit is available. |
void | unpark(Thread thread) Makes available the permit for the given thread, if it was not already available. |