Re: Thread safety of Cocoa Bindings
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