Lock in WorkManager [message #326561] |
Tue, 25 March 2008 06:59 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.06074 seconds