• 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
Delay when posting a notification to NSNotificationCentre
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Delay when posting a notification to NSNotificationCentre


  • Subject: Delay when posting a notification to NSNotificationCentre
  • From: Simon McLean <email@hidden>
  • Date: Tue, 10 Mar 2009 17:30:32 +0000

HI All -

I've got a method that creates an EO then posts a notification to NSNotificationCentre to tell it's just created the object. A listener then receives the notification and does a bunch of stuff on the EO.

However, the method that creates the EO and fires the notification appears to be waiting for the listener to do it's job before it returns.

Is that normal behavior ? The java docs don't talk about the sequence of events, but I presumed that the notifier would just makes it's notification then get on with whatever it has to do next and not care about what the listeners are doing, or how long it takes them to do it.

Do i just need to stick the listeners job into a thread to get it to run in the background ?

Thanks, Simon
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Delay when posting a notification to NSNotificationCentre
      • From: Mike Schrag <email@hidden>
    • Re: Delay when posting a notification to NSNotificationCentre
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Is this an encoding problem???
  • Next by Date: Re: AjaxUpdateLink's action not getting called
  • Previous by thread: Re: Is this an encoding problem???
  • Next by thread: Re: Delay when posting a notification to NSNotificationCentre
  • Index(es):
    • Date
    • Thread