Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » The JobManager's lock question
The JobManager's lock question [message #532072] Fri, 07 May 2010 04:59 Go to next message
andijo  is currently offline andijo Friend
Messages: 5
Registered: July 2009
Junior Member
I run a test that using the Job, and I find that when mutil user will wait for the JobManger's global lock, and so the UIThread is blocked, so can I change the JobManager's source to extend SessionSingletonBase, and in this case, means one user one JobManager's lock, so mutil user will not wait the global lock.
Is this solution will resolve the mutil user wait for lock's problem?
Re: The JobManager's lock question [message #532126 is a reply to message #532072] Fri, 07 May 2010 09:11 Go to previous messageGo to next message
Rüdiger Herrmann is currently offline Rüdiger HerrmannFriend
Messages: 581
Registered: July 2009
Senior Member
we recently solved this bug:
283490: Display.syncExec() leads to deadlock
https://bugs.eclipse.org/bugs/show_bug.cgi?id=283490
With these changes, the described problem shouldn't occur any more. If
you still experience problems, please file a bugzilla with standalone
code to reproduce.
BTW, making the JobManager a session-singleton would make Jobs that are
session-independent impossible and hence isn't an option.

Regards,
Rüdiger
--
Rüdiger Herrmann
http://eclipsesource.com

On 07.05.2010 06:59, andijo wrote:
> I run a test that using the Job, and I find that when mutil user will
> wait for the JobManger's global lock, and so the UIThread is blocked, so
> can I change the JobManager's source to extend SessionSingletonBase, and
> in this case, means one user one JobManager's lock, so mutil user will
> not wait the global lock.
> Is this solution will resolve the mutil user wait for lock's problem?
>
Re: The JobManager's lock question [message #532127 is a reply to message #532072] Fri, 07 May 2010 09:29 Go to previous message
andijo  is currently offline andijo Friend
Messages: 5
Registered: July 2009
Junior Member
thanks, I will checkout and test again!
Previous Topic:[ANN] RAP 1.3 M7
Next Topic:StartupPage.getBgImage throws Null Pointer
Goto Forum:
  


Current Time: Fri Apr 19 10:19:35 GMT 2024

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

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

Back to the top