• 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: j o a r <email@hidden>
  • Date: Tue, 6 Dec 2005 09:09:04 +0100


On 6 dec 2005, at 08.49, Theo Vosse wrote:

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.

No, it just means that you were lucky.

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.

See...

The advice given to me was: use performInMainThread, and that works pretty well for me, and it's easy to use.

That would be the safe way to go.

j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
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: Nicolas Berloquin <email@hidden>
References: 
 >Re: Thread safety of Cocoa Bindings (From: Theo Vosse <email@hidden>)

  • Prev by Date: Re: Thread safety of Cocoa Bindings
  • Next by Date: Re: resize image with cocoa
  • Previous by thread: Re: Thread safety of Cocoa Bindings
  • Next by thread: Re: Thread safety of Cocoa Bindings
  • Index(es):
    • Date
    • Thread