• 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: Lindsey Spratt <email@hidden>
  • Date: Sat, 26 Oct 2002 15:18:35 -0500

Steve Klingsporn <email@hidden> on Fri, 25 Oct 2002 wrote:
> I'm looking for an elegant way for a thread to notify my main thread
> that something needs to happen.

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.

Lindsey Spratt
http://homepage.mac.com/lspratt
_______________________________________________
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.

  • Follow-Ups:
    • Re: Cocoa thread-safety
      • From: Nathan Day <email@hidden>
  • Prev by Date: Re: subclassing NSMutableArray
  • Next by Date: Re: drawers closes, but is visible
  • Previous by thread: Re: Follow-up: Cocoa thread-safety
  • Next by thread: Re: Cocoa thread-safety
  • Index(es):
    • Date
    • Thread