diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-15 09:35:46 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-15 09:35:46 +0000 |
commit | 2f2c367ad87e3f1d00cf26835c39800395e42b1a (patch) | |
tree | a042351e6e4d8bcf2893a90e5daf06048d61dc18 /Tools | |
parent | ac66fadf6fae5f54b17fb50728a82ffb32b829fa (diff) | |
download | edk2-platforms-2f2c367ad87e3f1d00cf26835c39800395e42b1a.tar.xz |
Added synchronized to getCommandSetting to solve multi-thread build issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java b/Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java index e8da51231f..e5e4d5e671 100644 --- a/Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java +++ b/Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java @@ -726,7 +726,7 @@ public class GlobalData { return false;
}
- public static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {
+ public synchronized static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {
ToolChainKey toolChainKey = new ToolChainKey(commandDescription);
ToolChainMap toolChainConfig = toolsDef.getConfig();
String setting = null;
|