]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Added synchronized to getCommandSetting to solve multi-thread build issue
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 15 Sep 2006 09:35:46 +0000 (09:35 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 15 Sep 2006 09:35:46 +0000 (09:35 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1546 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Source/GenBuild/org/tianocore/build/global/GlobalData.java

index e8da51231fdb44677a6c40928f10ccdfdda7731d..e5e4d5e67164ba3434c5cbe73224de6e196fd4f4 100644 (file)
@@ -726,7 +726,7 @@ public class GlobalData {
         return false;\r
     }\r
 \r
-    public static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {\r
+    public synchronized static String getCommandSetting(String[] commandDescription, FpdModuleIdentification fpdModuleId) throws EdkException {\r
         ToolChainKey toolChainKey = new ToolChainKey(commandDescription);\r
         ToolChainMap toolChainConfig = toolsDef.getConfig();\r
         String setting = null;\r