Re: XCode multithreaded?
Re: XCode multithreaded?
- Subject: Re: XCode multithreaded?
- From: Shawn Erickson <email@hidden>
- Date: Wed, 3 Dec 2003 13:57:53 -0800
On Dec 3, 2003, at 12:35 PM, Rob Lockstone wrote:
My understanding is that Xcode does do its indexing in the main
thread. Although it has been modified to "play nicer" with the GUI. My
personal experience on both a DP G5 and a lowly TiBook 550 is that it
does behave much better than ProjectBuilder ever did when indexing.
One thing you might want to do, if this doesn't break things for you,
is to not index jar files. You can do this easily by doing a Get Info
on your jar files and unchecking the "include in index" checkbox.
Depending on how many jar files are in your project, how big they are,
and how often they change, this can make a big difference.
I have suggested via bug reports in the past that Xcode should do
indexing in a separate, low priority, thread. I believe they are
planning on doing that (or something similar) at some point.
Amazingly you are correct... looking at Xcode with thread viewer it
does do the indexing of files using the main thread! It looks like a
timer is used to hit one or a few files at a time.
Why I can only guess (it would make some synchronization easier) but it
sure seems like the wrong thing to be doing.
Also the auto-completion lookup takes place on the main thread from
what I can see... I had hoped it would be done otherwise.
-Shawn
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.