• 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
Re: Problem with detached thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: How does Pixie work?
  • Next by Date: Re: Combo box doubts
  • Previous by thread: Re: Problem with detached thread
  • Next by thread: Kernel panic
  • Index(es):
    • Date
    • Thread