Ok, finally I seem to have found out some more of what is happening. I
am able to set any priority 0. But if I try priorities = 0 it
throws an exception. For all my practical purposes, positive
priorities are enough. But anyone has any idea what application is not
allowed to use any priorities =
It could be that the thread's ThreadGroup has a maximum priority of 5.
A thread's priority cannot be higher than it's thread-group max-
priority.
It could be that some code you didn't code, but call instead, that
sets the thread priority to 5.
On May 10, 11:37 pm, Krishnakumar Ramachandran
I tried that too. But still when I try to query my audio thread's priority,
it still shows its priority as 5.
On Tue, May 11, 2010 at 8:25 AM, Streets Of Boston
flyingdutc...@gmail.comwrote:
What about Thread.setPriority(...) ?
That seems to be working for me.
When, using the above method, i
3 matches
Mail list logo