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
This commit is contained in:
jwang36 2006-09-15 09:35:46 +00:00
parent ac66fadf6f
commit 2f2c367ad8
1 changed files with 1 additions and 1 deletions

View File

@ -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;