public static void parkUntil ( Object blocker , long deadline ) { Thread t = Thread . currentThread ( ) ; setBlocker ( t , blocker ) ; U . park ( true , deadline ) ; setBlocker ( t , null ) ; }
Disables the current thread for thread scheduling purposes until the specified deadline unless the permit is available .