public interface Lock{
void lockInterruptibly() throws InterruptedException;
boolean tryLock();
boolean tryLock(long time, TimeUnit unit) throws InterruptedException;
void unlock();
Condition newCondition();
}
<Java><Multi-thread><Lock interface>
原文:http://www.cnblogs.com/wttttt/p/6978178.html