• 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: Bindings do not work in threads?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings do not work in threads?


  • Subject: Re: Bindings do not work in threads?
  • From: Julien Jalon <email@hidden>
  • Date: Sat, 15 Oct 2005 01:27:59 +0200

You have to know that the Key-value change notification will happen in
the thread that changes the key. AppKit objects are just like any
other observers and I'm pretty sure they don't like that much.
More generally, you should always consider that KVO, bindings and
stuff are not thread-safe.

-- Julien

On 10/12/05, Theo Vosse <email@hidden> wrote:
> Hi,
>
> I've got an application that runs some evaluation in a thread (via
> detachNewThreadSelector). If that new thread updates a variable that
> has a binding in the (current) view (an NSTabViewItem), strange
> things happen.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Bindings do not work in threads? (From: Theo Vosse <email@hidden>)

  • Prev by Date: How to create an indexed color PNG file
  • Next by Date: Re: Scheduling an application function/event
  • Previous by thread: Bindings do not work in threads?
  • Next by thread: Re: Bindings do not work in threads?
  • Index(es):
    • Date
    • Thread