mirror of https://github.com/acidanthera/audk.git
Added "synchronized" to getToolChainInfo() to solve synchronization issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1543 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
34913f248c
commit
1744b047bb
|
@ -681,7 +681,7 @@ public class GlobalData {
|
|||
///
|
||||
/// Tool Chain Related, try to refine and put some logic process to ToolChainFactory
|
||||
///
|
||||
public static ToolChainInfo getToolChainInfo() {
|
||||
public synchronized static ToolChainInfo getToolChainInfo() {
|
||||
if (toolChainInfo == null) {
|
||||
toolChainInfo = toolsDef.getConfigInfo().intersection(toolChainEnvInfo);
|
||||
if (toolChainPlatformInfo != null) {
|
||||
|
|
Loading…
Reference in New Issue