|(no subject) [message #687397]
||Tue, 07 June 2011 11:08
Originally posted by: <forums-noreply|
I have ecore model and i want to create 1000 XMI models using threading.
I am using
EStructuralFeature.Internal.SettingDelegate.Factory.Registry.INSTANCE.put(oclDelegateURI, new OCLSettingDelegateFactory.Global());
When i create 1000 model in one thread then every thing works fine and it calculates every derived property but when i use multiple threads for less execution time it gives exception in delegation and says concurrent access.
Is the delegation being used is thread safe?
what is right procedure to make it work in multi threaded environment?.
Please help me
Powered by FUDForum
. Page generated in 0.02187 seconds