Lines Matching refs:thread1
279 ConcurrentLoadingThread thread1 = new ConcurrentLoadingThread(loader, test, new Locale("en", "CA"));
282 thread1.start(); //start thread 1
283 loader.waitForNotify(1); //wait for thread1 to do getBundle & block in loader
289 if (!thread1.isAlive() || thread2.isAlive()) {
293 thread1.ping(); //continue thread1
294 thread1.join();
309 ConcurrentLoadingThread thread1 = new ConcurrentLoadingThread(loader, test, new Locale("en", "US"));
310 thread1.start(); //start thread 1
311 loader.waitForNotify(1); //wait for thread1 to do getBundle(en_US) & block in loader
313 thread1.ping(); //kick thread 1
314 loader.waitForNotify(2); //wait for thread1 to do getBundle(en) & block in loader
316 thread1.ping(); //kick thread 1
317 loader.waitForNotify(3); //wait for thread1 to do getBundle(en) & block in loader
319 thread1.ping(); //kick thread 1
320 thread1.join(); //wait until thread1 terminates
322 ResourceBundle bundle = (ResourceBundle)thread1.bundle;