• 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: Worker threads and UI threads
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Worker threads and UI threads


  • Subject: Re: Worker threads and UI threads
  • From: Cryx <email@hidden>
  • Date: Thu, 6 Jun 2002 22:44:06 -0500

On Thursday, June 6, 2002, at 10:03 PM, Chris DeSalvo wrote:
Does anyone know of some working sample code that has a working thread
posting messages to the main app thread so that the main thread can update
UI?

You'll probably be better off using distributed objects. Take a look at the SimpleThreads sample code on the developer site. DOs seem to me to be a bit heavyweight for interthread communication, but it's the most reliable way to communicate with the AppKit from a subthread.

Daryn
_______________________________________________
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: Worker threads and UI threads
      • From: Vince DeMarco <email@hidden>
References: 
 >Worker threads and UI threads (From: Chris DeSalvo <email@hidden>)

  • Prev by Date: Worker threads and UI threads
  • Next by Date: Re: Worker threads and UI threads
  • Previous by thread: Worker threads and UI threads
  • Next by thread: Re: Worker threads and UI threads
  • Index(es):
    • Date
    • Thread