Thread checks in Glass
Pedro Duque Vieira
pedro.duquevieira at gmail.com
Mon Jul 22 09:08:18 PDT 2013
You mean like checking every possible call to ensure it is made in the UI
thread? Or just some?
I think this is great!
Regards,
Hello all,
> FX is a single threaded UI toolkit. Well written FX applications should
> not access FX objects from outside the UI thread. There are exceptions to
> this rule and these are well documented. Documentation is great, but
> enforcing thread checks in code is better. Glass (the underlying native
> window toolkit portability layer for FX) is being changed to ensure it is
> accessed from the UI thread. This is goodness. Many threading issues in
> FX, Quantum and Prism have been found and fixed as a result of this change.
> You can follow progress in https://javafx-jira.kenai.com/browse/RT-26891
> Petr & Steve
--
Pedro Duque Vieira
More information about the openjfx-dev
mailing list