public static void main(String args[]) {
    TestThread_T_05_04 thread = new TestThread_T_05_04("SuperPuperTest");
    thread.setDaemon(true);
    thread.start();

    while (!thread.started) {
      try {
        Thread.sleep(100);
      } catch (Throwable tex) {
      }
    }
    /*
     * Transfer control to native part.
     */
    new Thread("agent") {
      public void run() {
        return;
      }
    }.start();

    killThread(thread);
    return;
  }