* Thread.suspend() and Thread.stop() should be avoided at all cost, since the JVM will not release the monitors held by the thread, which may lead to deadlocks.
Right. Pivot's Task class provides an abort() method that is a safer alternative to stop() (though Task implementations must explicitly support it by periodically checking an "abort" flag). This is consistent with Sun's current recommended practice for stopping threads. An application that needs suspend/remove behavior could do something similar.
G
