Worker thread priorities [message #920409] |
Sun, 23 September 2012 02:45 |
David McFarland Messages: 2 Registered: September 2012 |
Junior Member |
|
|
First of all, I'm new to Eclipse development, so please excuse me if I'm posting in the wrong place. I've done quite a bit of searching, but haven't found any meaningful discussion on this topic.
I've recently installed Eclipse + CDT on Ubuntu x64 to do a hobby project, and also on Windows 7 x64 for a rather large work project. In both cases I've found the whole interface to be rather unresponsive when the CDT Indexer is running.
I took a look at:
org.eclipse.core.jobs/src/org/eclipse/core/internal/jobs/Worker.java
and found that it's setting the worker threads to NORM_PRIORITY. I tried a quick test with MIN_PRIORITY, and Eclipse was much more responsive while the indexer was running (by forcing it to rebuild). It seemed to complete in a reasonable amount of time, and I didn't notice any obvious negative side-effects.
Is anyone aware of any discussion on the subject of worker thread priorities? The best I could find was:
http://www.eclipse.org/forums/index.php/mv/msg/146067/459800/#msg_459800
but it's quite old, and doesn't explain why I see an improvement.
Cheers
|
|
|
Powered by
FUDForum. Page generated in 0.03428 seconds