Re: interthread communication
Re: interthread communication
- Subject: Re: interthread communication
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 13 Jul 2001 15:30:51 -0700
On Friday, July 13, 2001, at 02:46 PM, Dan Watson wrote:
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?
If it works, it's acceptable ;-)
-jcr
[Objc retain];