|Re: Is there parallel operation in Sirius? [message #1784532 is a reply to message #1784524]
||Thu, 29 March 2018 06:55
|| Pierre-Charles David
Registered: July 2009
We do not currently leverage parallelism or multiple threads, beside the basic pattern of moving long running operations outside of the UI thread using the Eclipse Jobs API. While we agree this would be a nice possibility, EMF itself is not really designed for that, see https://wiki.eclipse.org/EMF/FAQ#Is_EMF_thread-safe.3F. In the context of a given Sirius session (which maps to a ResourceSet in terms of EMF), trying to make changes (for example creating representations) from multiple threads is not supported. It's probably possible to manipulate different sessions in parallel, but because this is not a common use case we can not guarantee that this will work. Of cours if you try and find bugs, please report them and we'll try to fix them.
Can I ask why you feel that you need to create "several thousands of diagrams"? Diagrams (as opposed to the underlying semantic models) are only useful for actual human beings. I don't know what your use case is, but I'd recommend to only create the ones that will be used at the time they are first needed.
Pierre-Charles David - Obeo
Need training or professional services for Sirius?
[Updated on: Thu, 29 March 2018 06:56]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01638 seconds