interthread communication
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