Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geclipse-dev] Timers are not deamons

Ariel Garcia pisze:

> i guess you missed this thread also. Your comments are important! :-)
> Thanks, cheers, Ariel

yep, you're right.

I see no reason why it should stay as a non-daemon.
+1 from my side.


> On Saturday 17 January 2009, Romain wrote:
>> Hi,
>>
>> in class GridFTPConnection timers are not started as deamons, so my
>> application takes a very long time to stop waiting for every timers to
>> expire :
>>
>>    void startTimer() {
>>      //change that line for this.timer = new Timer(true);
>>      this.timer = new Timer();
>>      this.timer.schedule( new TimerTask() {
>>
>>        @Override
>>        public void run() {
>>          try {
>>
>>
>> Is it possible to turn them into deamons?



Back to the top