KDBindings icon indicating copy to clipboard operation
KDBindings copied to clipboard

Draft - Multi-Threaded bindings

Open LeonMatthesKDAB opened this issue 2 years ago • 1 comments

Use Thread 1 with normal signal evaluation to mark a binding as dirty.

Then have all the dependent properties associated with a BindingEvaluator. This binding evaluator would then be evaluated by Thread 2 (typically GUI Thread), so the evaluation actually happens on a separate thread.

For this to work the following would need to be thread-safe:

  1. Marking of a binding as dirty.
  2. Reading from a Property & updating the bindings internal cache
  3. Disconnecting/Connecting of Signals when creating a Binding

LeonMatthesKDAB avatar Feb 02 '22 11:02 LeonMatthesKDAB