Re: Threading, save panels, and segfaults
Re: Threading, save panels, and segfaults
- Subject: Re: Threading, save panels, and segfaults
- From: "R. Tony Goold" <email@hidden>
- Date: Sat, 10 Nov 2001 20:28:17 -0500
I haven't actually used an NSDistributedNotificationCenter for
inter-thread communication, but it wouldn't imagine it presenting any more
difficulties than inter-task communication, would it?
Or are tasks prevented from receiving notifications they post? The
scenario I imagine is a thread leaving a notification that only the GUI
thread observers, and using that for inter-thread communication. Is this
not possible, or simply not supported?
Cheers,
Tony
On Saturday, November 10, 2001, at 07:47 , Andreas Monitzer wrote:
On Sunday, November 11, 2001, at 01:28 , R. Tony Goold wrote:
Notifications aren't thread safe, either :)
I can't imagine any other purpose for NSDistributedNotificationCenter.
What about inter-task communication? That's what it was designed for and
it's the only supported usage.
I'm using it quite often for event-type communication (e.g. "connection
established").
andy
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev