Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » Deadlocks with TranasactionalEditingDomain
Deadlocks with TranasactionalEditingDomain [message #607021] Wed, 20 June 2007 11:50
No real name is currently offline No real nameFriend
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
Previous Topic:[Teneo] Child objects in DB have multiple references to parent.
Next Topic:Deadlocks with TranasactionalEditingDomain
Goto Forum:
  


Current Time: Tue Jan 19 22:30:11 GMT 2021

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

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

Back to the top