Re: Problem with detached thread
Re: Problem with detached thread
- Subject: Re: Problem with detached thread
- From: Julian Barkway <email@hidden>
- Date: Thu, 4 Jul 2002 02:05:26 -0700 (PDT)
On Thursday, 04, 2002, at 01:26AM, Cameron Hayne <email@hidden> wrote:
>
But I don't see why you can't have some object send addObserver to the
>
defaultNotificationCenter in the main thread for some Notification that
>
you make up. And then have your worker thread postNotification when it
>
is done. I understand that notifications are received in the thread in
>
which the addObserver is done - i.e. in this case, the main thread.
Substitute distributed notifications for ordinary ones and you've got it.
Standard notifications won't work across thread boundaries, it seems.
Cheers,
Julian.
--
Julian Barkway, Zurich, Switzerland.
_______________________________________________
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.