| [news.eclipse.platform.swt] Re: Priority of worker threads. |
Although SWT doesn't do this, the Eclipse workbench does increase the UI thread's priority by one (see Workbench.createDisplay). So, if you're writing a plugin to the Eclipse platform, you can follow the convention of setting your background threads to NORM_PRIORITY. The Eclipse jobs API (org.eclipse.core.runtime.jobs) does this for all worker threads it creates.
--
Thanks. That's all I needed to know.
- Johan