126127128129130131132133134135136
public void run() { while ( true ) { monitor.addResource( resource ); monitor.removeResource( resource ); } } }; thread.start();
132133134135136137138139140141142