00001 class Process2 extends java.lang.Thread 00002 { 00003 00004 public void run () 00005 { 00006 synchronized (Deadlock.lock2) 00007 { 00008 synchronized (Deadlock.lock1) 00009 { 00010 } 00011 } 00012 } 00013 }