Commit 360cbe36 authored by Zoltan Ujhelyi's avatar Zoltan Ujhelyi
Browse files

Synchronizes access to the proxy uri map in MapModelIndex



Access to MapModelIndex#updateIndexOnResourceLoaded might be called
during model loading (in an EMF write transaction), after model is
modified (probably inside an EMF transaction) and when the Eclipse File
System is updated (in workspace jobs triggered by workspace listeners).
The latter category can happen in parallel with the first two, making it
necessary to synchronize access to the internal data structures to avoid
issues in the code.

Change-Id: Idfd5993e1775322bb1eef98e000f7b77fb236caa
Signed-off-by: default avatarBalazs Varnai <balazs_varnai@mentor.com>
Signed-off-by: default avatarZoltan Ujhelyi <zoltan.ujhelyi@incquerylabs.com>
parent 59187945
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment