By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,737 Members | 1,989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,737 IT Pros & Developers. It's quick & easy.

ThreadGroup maxPriority

P: n/a
Running as an application the default thread group is "main" with a
priority range of 1-10. Running as an applet the applet's thread
group has a priority range of 1-4. Any threads created to run higher
than 4 are all pushed down to priority 4. The call to setMaxPriority
does not appear to have any effect- the applet thread group remains at
max priority 4.

We tried creating new thread groups with the "main" thread group as
the parent. Running as an applet it does create the thread groups with
a priority range of 1-10 and the threads created under those thread
groups have their priorities as set. However, running as an applet
this technique yields some strange results; some classes don't load
and some GUI operations fail to work. As soon as we revert back to
creating threads under the default applet thread group the strange
problems dissappear. Any thoughts?
Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.