Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » bg-job/ui-thread problem
bg-job/ui-thread problem [message #109684] Fri, 17 October 2008 12:46 Go to next message
Eclipse UserFriend
Originally posted by: erdal.karaca.airbus.com

A local copy of the Display (as Display.getDefault() does not work
properly) is used in a background job to execute code using
Display.syncExec(...) in the ui thread. Unfortunately, this yields a
deadlock (hint: UICallBackManager.addSync(...))...
Using Display.asyncExec() seems to work, but this is not wanted...
Re: bg-job/ui-thread problem [message #109861 is a reply to message #109684] Mon, 20 October 2008 08:11 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Erdal,

thanks for the hint. If you can make it reproducible with a
self-contained code snippet please file a bug.

Cheers,
Rüdiger

Erdal Karaca wrote:
> A local copy of the Display (as Display.getDefault() does not work
> properly) is used in a background job to execute code using
> Display.syncExec(...) in the ui thread. Unfortunately, this yields a
> deadlock (hint: UICallBackManager.addSync(...))...
> Using Display.asyncExec() seems to work, but this is not wanted...
>
>
Previous Topic:The shell problem
Next Topic:UICallbacks are canceled when pressing ESC in Browser
Goto Forum:
  


Current Time: Tue Sep 24 19:49:24 GMT 2024

Powered by FUDForum. Page generated in 0.03766 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top