Deadlocks with TranasactionalEditingDomain [message #607021] |
Wed, 20 June 2007 11:50 |
No real name Messages: 33 Registered: July 2009 |
Member |
|
|
Hi,
we're heavily using GMF and thereby EMFT and often run into deadlocks
involving the TransactionalEditingDomain (TED).
A typical situations is that a worker job (e.g. a batch model validator)
with the workspace-root as a rule tries to execute some runnable calling
TED.runExclusive(), while the Display thread holds the TED-lock and
tries to save a resource, attempting to aquire the workspace-root rule.
Is there a way to avoid this? What we really would like to have is
something like a tryLock or tryRunExclusive on the TED.
AFAIR, a similar problem with the TED-lock and the Display-thread access
has already been solved. Would that solution be transferable to the
locks in job rules?
Best regards
Jan
|
|
|
Powered by
FUDForum. Page generated in 0.02664 seconds