Re: Infinite loop hanging app when working with threads
Posted by jmaasing on Jul 01, 2016; 12:51pm
URL: https://forum.jogamp.org/Infinite-loop-hanging-app-when-working-with-threads-tp4036849p4036877.html
In AWT, Swing and JavaFX creating any kind of GUI component (windows et c) on any other thread than the Swing EDT will lead to bad/undefined behavior. So it would be pure luck if your test code would work with those frameworks.
I guess that NEWT have the same kind of design with a special thread (both for event dispatching and also because only one thread can 'own' OpenGL at a time). If so then undefined behavior (including stuck threads) is to be expected.