disables the current thread for thread scheduling purposes , for up to the specified waiting time , unless the permit is available . if the permit is available then it is consumed and the call returns immediately ; otherwise the current thread becomes disabled for thread scheduling purposes and lies dormant until one of four things happens : some other thread invokes #unpark unpark with thecurrent thread as the target ; or some other thread @linkplain thread #interrupt interrupts the current thread ; or the specified waiting time elapses ; or the call spuriously that is , for no reason returns . this method does not report which of these caused the method to return . callers should re-check the conditions which caused the thread to park in the first place . callers may also determine , for example , the interrupt status of the thread , or the elapsed time upon return . concode_field_sep Unsafe unsafe concode_elem_sep long parkBlockerOffset concode_field_sep Object getBlocker concode_elem_sep void parkUntil concode_elem_sep void parkUntil concode_elem_sep void unpark concode_elem_sep void park concode_elem_sep void park concode_elem_sep void setBlocker
void function ( long arg0 ) { if ( arg0 > 0 ) unsafe . park ( false , arg0 ) ; }