Re: Thread.stop() problem

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Mon Dec 14 1998 - 16:25:57 EST


 There's a race somewhere in jthread.c.
The main thread exits for as of yet unknown reasons.
I'll figure it out.

        - Godmar

>
> 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