• 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: Cocoa thread-safety
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa thread-safety


  • Subject: Re: Cocoa thread-safety
  • From: Nathan Day <email@hidden>
  • Date: Sun, 27 Oct 2002 21:22:06 +1030

DO is a bit of over kill for this, use the new Jaguar method performSelectorOnMainThread:withObject:waitUntilDone: or use my NDRunLoopMessenger class which you can get from my site http://homepage.mac.com/nathan_day/.

On Sunday, October 27, 2002, at 06:48 AM, Lindsey Spratt wrote:

Would the distributed object approach work here? Have the worker thread just send a message to the main thread (using NSConnection and friends). I have an app where the UI work is isolated to the main thread and everything else happens on worker threads and it is managed in this way.

Nathan Day
http://homepage.mac.com/nathan_day/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Cocoa thread-safety (From: Lindsey Spratt <email@hidden>)

  • Prev by Date: Focus ring around NSTextField
  • Next by Date: resourceDataUsingCache:NO still caches
  • Previous by thread: Re: Cocoa thread-safety
  • Next by thread: Telnet Protocol
  • Index(es):
    • Date
    • Thread