sanyiii wrote:Hi everybody,
I have a simple question:
I have a Timer in my application with 3 TimerTask. If I modify the thread priority in one of these TimerTask to lowest, i modifies the timer, or only the TimerTask? So my other 2 TimerTasks will be run on the default priority?
I use a lot of thread in my app. Some of them are important, some of them are not. And if I modify the priorities, the app. is better optimized for speed.
it changes current thread prioity - Timer uses its own thread - you dont have acces to it
probably you should replace them with Handlers if what they are not doing very heavy/blocking operations
Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 16 guests