Re: How to shutdown only some agents that were sent-off?

2009-04-20 Thread Timothy Pratley
I suppose you could always just use plain old java threads and avoid the thread-pool, or futures which have the advantage of being cancel- able? On Apr 21, 11:57 am, billh04 wrote: > In my application, I can open several windows. Each window is an > independent unit and will send-off three agen

How to shutdown only some agents that were sent-off?

2009-04-20 Thread billh04
In my application, I can open several windows. Each window is an independent unit and will send-off three agents to do background work. When I close a window, I stop the three threads from running, but the thread count never goes down when I display it by (println "Thread count is" (Thread/activeC