Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Lock in WorkManager
Lock in WorkManager [message #326561] Tue, 25 March 2008 10:59
Eclipse UserFriend
Originally posted by: boris.gruschko.org

Hi all,

is there a possibility, to acquire the WorkManager.lock, without using
internal APIs ?

I have a library which does some internal synchronization. Normally, I
would wrap the calls in beginRule/endRule, to ensure the correct order of
locks acquisition. However, I can't do the same with WorkManager.lock. I'm
getting some deadlocks, if the beginRule/endRule and WorkspaceRunnable are
being mixed up, to get the rules.

Using a WorkspaceRunnable for all calls is not an option, because some of
the calls can not be nested in a WorkspaceRunnable.

Thanks in advance for any replies,
Boris
Previous Topic:addPropertyChangeListener(IPropertyChangeListener) not working
Next Topic:How access instance of my Application class?
Goto Forum:
  


Current Time: Thu Jun 27 19:48:53 GMT 2024

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

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

Back to the top