280281282283284285286287288289290
crequest.setRunning(); jobList.notifyAll(); } } crequest.notifyAll(); } waitingJobList.notifyAll(); }
16071608160916101611161216131614161516161617
} catch (Throwable e) { } try { synchronized (serverSocket) { serverSocket.notifyAll(); } } catch (Throwable e) { } }
29912992299329942995299629972998299930003001
cuidNotify.add(cuid); //ok, we want to wake up the thread currently in // getNextConsumerPacket. // it is waiting on the ConsumerUID // so do a notify on ConsumerUID cuid.notifyAll(); } } return; }
10361037103810391040104110421043104410451046
// not when user has cancelled thread! if( keepThreadRunning.isSet() ) EventQueue.invokeLater( runResult ); synchronized( threadRunning ) { threadRunning.set( false ); threadRunning.notifyAll(); } } } });
10321033103410351036103710381039104010411042
public void wakeNativeQueue() { final EventQueue q = this.waitingNativeQueue; if (q != null) { synchronized (q) { q.notifyAll(); } } } public int getMouseNumberOfButtons() {
130131132133134135136137138139140
f.pack(); f.setVisible(true); f.addWindowListener(new WindowAdapter() { public void windowClosing(WindowEvent e) { synchronized (f) { f.notifyAll(); } } }); synchronized (f) { try {
480481482483484485486487488489490
for (int i = 0; i > -1; i = input.read(myBuff)) { synchronized (output){ output.write(myBuff,0,i); output.flush(); output.notifyAll(); } if(!owner.isRunning()){ break; } }
220221222223224225226227228229230
{ final PrintStream currentStream = getOutputStreamForCurrentThread(); synchronized ( currentStream ) { currentStream.println(); currentStream.notifyAll(); } } @Override public void print( char c )
231232233234235236237238239240241
{ final PrintStream currentStream = getOutputStreamForCurrentThread(); synchronized ( currentStream ) { currentStream.print( c ); currentStream.notifyAll(); } } @Override public void println( char x )
242243244245246247248249250251252
{ final PrintStream currentStream = getOutputStreamForCurrentThread(); synchronized ( currentStream ) { currentStream.println( x ); currentStream.notifyAll(); } } @Override public void print( double d )