1: …… 2: public synchronized void notifyJob() { 3: boolean flag = true; 4: notify(); 5: }