Closed dveyarangi closed 7 years ago
Thanks for the info with RCP! Would the following be okay in RCP? (does work in non-RCP)
display.asyncExec(new Runnable() {
display.timerExec(0, new Runnable() {
renderThings();
display.timerExec(0, this);
});
});
Regarding the example at https://github.com/LWJGL/lwjgl3-demos/blob/master/src/org/lwjgl/demo/opengl/swt/SwtDemo.java
The proposed recursive call for display.asyncExec(new Runnable() { renderThings(); display.asyncExec( this ) } means that the async job queue is never empty. When running in Eclipse RCP environment, repositioning parts of RCP application waits until the queue is finished, but since this never happens, an attempt to move parts causes the entire application to stuck forever.