• 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: Preventing beach balls
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing beach balls


  • Subject: Re: Preventing beach balls
  • From: Paul Borokhov <email@hidden>
  • Date: Sun, 18 Feb 2007 17:52:28 -0800

Thanks, I guess I'll give this another shot. I had originally done the detachNewThread thing, but after some testing my app crashed and I figured it was because I was doing something wrong...
So do I need to do anything special to use instance variables of the main thread from within methods on the detached thread? Or is this handled automatically by Cocoa?
Paul

----------Original Message----------
  On 2/18/07 17:14 , Seth Willits (email@hidden) wrote:
> Naturally if you need to communicate with other threads, you'll need
> to do that (performSelectorOnMainThread:withObject: will probably
> work most of the time), and if you use objects on multiple threads
> you need to use techniques to keep them safe (Yay NSRecursive lock),
> but it's basically that simple.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Preventing beach balls
      • From: Seth Willits <email@hidden>
    • Re: Preventing beach balls
      • From: Paul Borokhov <email@hidden>
References: 
 >Preventing beach balls (From: Paul Borokhov <email@hidden>)
 >Re: Preventing beach balls (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: what is a valid key-path? why can't I bind to NSURL's -path method?
  • Next by Date: MDImporters Help
  • Previous by thread: Re: Preventing beach balls
  • Next by thread: Re: Preventing beach balls
  • Index(es):
    • Date
    • Thread