• 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
interthread communication
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

interthread communication


  • Subject: interthread communication
  • From: Dan Watson <email@hidden>
  • Date: Fri, 13 Jul 2001 17:46:44 -0400

what is the recommended way of communicating between threads? I'm writing an
internet client application, and I have all the protocol and networking
stuff in one thread. how can I safely send messages to a controller for
instance to update the UI?

right now, I'm just posting notifications to the app's defaultCenter and
letting the controller catch them and perform operations on the UI. is this
acceptable?

tia,
dan

----------------------------------------------------------------------------
dan watson
email@hidden


  • Follow-Ups:
    • Re: interthread communication
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: Look And Feel (Guidelines
  • Next by Date: NSPathUtilities docs
  • Previous by thread: NSPopUpButton Problem
  • Next by thread: Re: interthread communication
  • Index(es):
    • Date
    • Thread