From 2f2c367ad87e3f1d00cf26835c39800395e42b1a Mon Sep 17 00:00:00 2001 From: jwang36 Date: Fri, 15 Sep 2006 09:35:46 +0000 Subject: [PATCH] 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 --- .../Source/GenBuild/org/tianocore/build/global/GlobalData.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;