1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Bug 296115 Redux: Use volatile fNewCProjectDescriptionManager as a memory barrier

This commit is contained in:
James Blackburn 2009-11-26 13:15:27 +00:00
parent 82e545c968
commit 47a3ea5119

View file

@ -308,8 +308,9 @@ public class CCorePlugin extends Plugin {
ResourceLookup.startup();
// new project model needs to register the resource listener first.
fNewCProjectDescriptionManager= CProjectDescriptionManager.getInstance();
final Job post1= fNewCProjectDescriptionManager.startup();
CProjectDescriptionManager descManager = CProjectDescriptionManager.getInstance();
final Job post1 = descManager.startup();
fNewCProjectDescriptionManager = descManager;
fPathEntryVariableManager = new CdtVarPathEntryVariableManager();
fPathEntryVariableManager.startup();