At 06:01 PM 6/15/2002 +0200, you wrote:
>>2) We have determined that start() and stop() apply to the same concern
>>    of an active component.  We should explicitly state that the
>>Startable
>>    interface is designed to let an active component know when they can
>>    start background execution threads and when to stop them safely.
>
>I disagree.
>
>As I have already written, starting something doesn't mean that I need to 
>stop it. It could just stop by itself. In fact the stop() method of 
>threads has been deprecated long time ago!

Thread.stop() was deprecated because it is impossible to isolate state 
between threads and thus perform cleanups on stop(). In JDK1.5 the isolate 
classes will most likely have some form of stop() method.



Cheers,

Peter Donald
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Faced with the choice between changing one's mind,
and proving that there is no need to do so - almost
everyone gets busy on the proof."
              - John Kenneth Galbraith
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to