Initial commit from SVN.

This commit is contained in:
wcrisman
2014-05-30 10:31:51 -07:00
commit b45e56b890
1968 changed files with 370949 additions and 0 deletions

View File

@@ -0,0 +1,52 @@
package com.threadtest;
/**
* Copyright Declarative Engineering LLC 2009<p>
*/
public class TestMain {
/**
* @param args
*/
public static void main(String[] args) {
// System.out.println("Starting test");
// new Thread(new Runnable() {
// public void run() {
// System.out.println("Inside thread.");
// }
// }).start();
//
// System.out.println("Thread started");
// try {
// synchronized(TestMain.class) {
// TestMain.class.wait(0);
// }
// }
// catch(Throwable e) {
// e.printStackTrace();
// }
//TestObject.getSingleton();
// System.out.println("Starting SWT event loop thread.");
// Thread t = new Thread(TestObject.getSingleton());
//
// t.start();
//
// System.out.println("Synchronzing");
// synchronized(TestObject.getSingleton()) {
// while(!TestObject.getSingleton().isInitialized) {
// System.out.println("Waiting for isInitialized");
// try {
// TestObject.getSingleton().wait(0);
// }//try//
// catch(Throwable e) {
// e.printStackTrace();
// }//catch//
// }//while//
// }//synchronized//
TestStarter.getSingleton();
}
}