Bug 580727 - [Moka] Update DEScheduler
Summary: [Moka] Update DEScheduler
Status: UNCONFIRMED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Moka (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Arnaud Cuccuru CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-13 08:24 EDT by Sebastien Revol CLA
Modified: 2022-09-19 05:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastien Revol CLA 2022-09-13 08:24:27 EDT
The DEScheduler provided in org.eclipse.papyrus.moka.engine.uml.time.scheduling bundle has to be slightly updated :

- remove useless dependencies to allow its use in minimal distributions
- allow to push event with an absolute date equals to the current date
Comment 1 Eclipse Genie CLA 2022-09-13 08:26:59 EDT
New Gerrit change created: https://git.eclipse.org/r/c/papyrus/org.eclipse.papyrus-moka/+/195754
Comment 2 Sebastien Revol CLA 2022-09-19 05:14:08 EDT
Also transformed the shared instance of the DEScheduler returned by the static getInstance method as a ThreadLocal variable. It allows to launch multiple simulations in several threads, each of it having its own DEScheduler instance.
By construction, a given DE Simulation is single threaded.