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