• 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: Best way to push action from 1 thread to another?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Best way to push action from 1 thread to another?


  • Subject: Re: Best way to push action from 1 thread to another?
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 9 May 2002 18:44:17 +0200

On Thursday, May 9, 2002, at 05:54 , email@hidden wrote:

This matches my experience: NSNotificationCenter processes the notification *immediately*, delivering the notifications as simple method calls directly descended from the call that posts the notification

Migh, might not. See NSNotificationQueue.

with the calls executed in the same thread that posted the notification

This is quite another beast, since each thread has its own event loop (naturally), and thus not even NSNotificationQueue would normally help. Perhaps NSDistributedNotifications would, but I've never checked.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >Re: Best way to push action from 1 thread to another? (From: email@hidden)

  • Prev by Date: Re: NSThread
  • Next by Date: Re: Making an NSTextView have a data source
  • Previous by thread: Re: Best way to push action from 1 thread to another?
  • Next by thread: Re: Best way to push action from 1 thread to another?
  • Index(es):
    • Date
    • Thread