Community
Participate
Working Groups
Problems such as the Dining Philosophers, or the simplified PartialPhilosophers from Bug 515490 need a reservation capability and consequently an acquire/release, which necessitates a re-assignment of model state contrary to the QVTr declarative principles. If we have a declarative mutex concept, a relation could specify that it requires one or more mutexes for the duration of its execution and any called relations that also specify the mutex. The scheduler can supervise the acquisition of mutexes avoiding deadlock and avoiding re-assignment to model state.