• 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: is NSNotificationCenter thread safe?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: is NSNotificationCenter thread safe?


  • Subject: Re: is NSNotificationCenter thread safe?
  • From: Florijan Stamenkovic <email@hidden>
  • Date: Wed, 04 Jun 2008 16:56:22 -0400


On Jun 04, 2008, at 16:42, Chuck Hill wrote:

That should be obvious, but I have managed to overlook some of the implications from time to time.


I've always thought NSNotification center is a rather simple, straight-forward player.

It is, but a threaded, concurrent environment can hold many interesting surprises ("oh right, this page is not in an R-R loop when that notification arrives"). :-)

Yeah, the high decoupling it provides can be a factor of confusion... I've read somewhere once a good comment on the notification concept, saying basically that one should never use it if there is another way. It adds confusion to the code. I think it is a good point, but I'd draw the when-to-use-it line a bit less radically.


F
_______________________________________________
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


References: 
 >is NSNotificationCenter thread safe? (From: Freddie Tilley <email@hidden>)
 >Re: is NSNotificationCenter thread safe? (From: Chuck Hill <email@hidden>)
 >Re: is NSNotificationCenter thread safe? (From: Florijan Stamenkovic <email@hidden>)
 >Re: is NSNotificationCenter thread safe? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: is NSNotificationCenter thread safe?
  • Next by Date: Re: WebObjects + iPhone SDK
  • Previous by thread: Re: is NSNotificationCenter thread safe?
  • Next by thread: Re: is NSNotificationCenter thread safe?
  • Index(es):
    • Date
    • Thread