[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Priority of worker threads.

John Arthorne wrote:
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