• 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: Thread safety of Cocoa Bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread safety of Cocoa Bindings


  • Subject: Re: Thread safety of Cocoa Bindings
  • From: Theo Vosse <email@hidden>
  • Date: Tue, 6 Dec 2005 08:49:07 +0100

On Dec 5, 2005, at 20:43 , Felix Schwarz wrote:

However, I still wonder: are there parts of Cocoa bindings, that are
not thread safe?

In my experience: partially. That might seem a strange answer. The reason is that during the time I actually changed bindings from different threads nothing crashed, so that in principle means that bindings are not really unsafe. However, some changes would not get propagated to the UI (in particular changes made just before thread termination), sometimes only after forcing an update. Sometimes a text field even contained two overlapping strings. The advice given to me was: use performInMainThread, and that works pretty well for me, and it's easy to use.

Theo
_______________________________________________
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
  • Follow-Ups:
    • Re: Thread safety of Cocoa Bindings
      • From: j o a r <email@hidden>
  • Prev by Date: Re: resize image with cocoa
  • Next by Date: Re: Thread safety of Cocoa Bindings
  • Previous by thread: Re: Thread safety of Cocoa Bindings
  • Next by thread: Re: Thread safety of Cocoa Bindings
  • Index(es):
    • Date
    • Thread