This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: java.util.TimerTask


> To be perfectly clear: you mean exit as in "fall off the end of
> main()" and not exit as in "invoke System.exit(n)"?

In my case, I apparently seem to have managed to subvert the Timer
thread "to fall of the end of main()" :)

I'm keeping it alive, for now, with an endless loop of
Thread.currentThread().sleep().


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]