Login  Register

Re: NEWT blocks SWT Thread

Posted by Sven Gothel on Nov 28, 2012; 4:22pm
URL: https://forum.jogamp.org/NEWT-blocks-SWT-Thread-tp4027270p4027273.html

On 11/28/2012 05:03 PM, samg [via jogamp] wrote:

> hey all,
>
> I have an eclipse RCP application with JOGL. I tried to use the NEWT +
> NewtSWTCanvas but I had the problem that it somehow blocks the SWT Dispatch
> thread.
>
> To be more precise:
>
> During rendering I do schedule some Display.asyncExec tasks, but they are
> never executed.

> However if I switch to a non NEWT window, all tasks are
> executes. So the NEWT windows blocks somehow the SWT Dispatch thread.

We just have fixed an SWT/NEWT deadlock, see bug 628
  <https://jogamp.org/bugzilla/show_bug.cgi?id=628>

>
> tested with 2.0-rc11
> Win7-64Bit

But your report is different, i.e. non execution of the async tasks
which I actually have experienced as well on the Windows platform
with SWT version 4.3.0 M3.

Pls file a new bug report so we can track this issue properly.

>
> What can I do?

Wait until I have fixed it :)

~Sven



signature.asc (909 bytes) Download Attachment