Next:
Threads Example 3.1
Up:
Java Notes
Previous:
Threads Example 2.2
Threads: Stopping
deprecated: avoid its use
null
: null reference (pointer!)
volatile
: value in memory NOT copied to stack
Example:
private static volatile Thread t=new Thread(new ThreadTest3());
t=null;
(MUST NOT do
t.stop()
)
Ananda Amatya
9/15/1999