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

removeObserver:forKeyPath: thread safe?


  • Subject: removeObserver:forKeyPath: thread safe?
  • From: Andreas Grosam <email@hidden>
  • Date: Fri, 4 Sep 2009 12:36:28 +0200

Hello,

while there are many aspects regarding thread-safety in KVO, I'm particularly interested in this question:


Using automatic KVO, is it safe to send removeObserver:forKeyPath: from within a thread while there is another thread which may change the property that is being observed?


Pointers to a more comprehensive discussion about thread-safety in KVO is also very much appreciated.


Thanks in advance!


Regards Andreas _______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: performSelectorInBackground:anObject:
  • Next by Date: Re: Problem with Core Midi on 10.6
  • Previous by thread: Re: performSelectorInBackground:anObject:
  • Next by thread: Re: Problem with Core Midi on 10.6
  • Index(es):
    • Date
    • Thread