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

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
Previous Topic:[Teneo] Child objects in DB have multiple references to parent.
Next Topic:Deadlocks with TranasactionalEditingDomain
Goto Forum:

Current Time: Sun Nov 27 20:04:49 GMT 2022

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

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

Back to the top