blocks until the lock has been acquired . masks interrupts ; if an interrupt was received on entry or while waiting for the lock acquisition , it wo n't cause the call to return . however , the thread 's status will be set to interrupted when the call returns . concode_field_sep JChannel ch concode_elem_sep String name concode_elem_sep AtomicReference<Thread> holder concode_elem_sep Locking lock_prot concode_elem_sep AtomicReference<Thread> holder concode_field_sep void signalAll concode_elem_sep Lock getLock concode_elem_sep String printLocks concode_elem_sep void unlock concode_elem_sep void removeLockListener concode_elem_sep long awaitNanos concode_elem_sep void unlockAll concode_elem_sep void awaitUninterruptibly concode_elem_sep void setChannel concode_elem_sep boolean tryLock concode_elem_sep boolean tryLock concode_elem_sep void addLockListener concode_elem_sep void lockInterruptibly concode_elem_sep Condition newCondition concode_elem_sep void await concode_elem_sep boolean await concode_elem_sep String toString concode_elem_sep void signal concode_elem_sep boolean awaitUntil
void function ( ) { ch . down ( new Event ( Event . LOCK , new LockInfo ( name , false , false , false , 0 , TimeUnit . MILLISECONDS ) ) ) ; holder . set ( Thread . currentThread ( ) ) ; }