< prev index next >

src/java.base/share/classes/java/util/concurrent/locks/LockSupport.java

Print this page

        

*** 131,140 **** --- 131,142 ---- * static { * // Reduce the risk of "lost unpark" due to classloading * Class<?> ensureLoaded = LockSupport.class; * } * }}</pre> + * + * @since 1.5 */ public class LockSupport { private LockSupport() {} // Cannot be instantiated. private static void setBlocker(Thread t, Object arg) {
< prev index next >