public static void park ( Object blocker ) { Thread t = Thread . currentThread ( ) ; setBlocker ( t , blocker ) ; U . park ( false , 0L ) ; setBlocker ( t , null ) ; }
Disables the current thread for thread scheduling purposes unless the permit is available .