• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: XCode multithreaded?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: XCode debugging problems (From: Jose Commins <email@hidden>)
 >Re: XCode debugging problems (From: Jim Ingham <email@hidden>)
 >XCode multithreaded? (From: François Frisch <email@hidden>)
 >Re: XCode multithreaded? (From: Rob Lockstone <email@hidden>)

  • Prev by Date: Re: XCode multithreaded?
  • Next by Date: Re: WO Project exits with status 1.
  • Previous by thread: Re: XCode multithreaded?
  • Next by thread: Re: XCode multithreaded?
  • Index(es):
    • Date
    • Thread