Thread.stop() problem

Date view Thread view Subject view Author view

From: Archie Cobbs (archie@whistle.com)
Date: Mon Dec 14 1998 - 15:31:55 EST


Is Thread.stop() supposed to work? This test program just exits
eventually.

-Archie

___________________________________________________________________________
Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com

public class TSock1 {
  public static void main(String[] args) throws Exception {
     while(true) {
       Thread t = new Thread();
       t.start();
       t.stop();
       System.gc();
       System.runFinalization();
    }
  }
}


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:15 EDT