audk/BaseTools/Source/Python/AutoGen
Feng, Bob C bfe36cb4ef BaseTools: Improve the method of checking queue empty
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2807

The Queue.empty() method is not reliable in the multiple
process runtime environment. This patch uses a new method
to check if all modules are processed and workers need
to be stopped. That is to add a None item at the bottom
of the queue. Worker check if it gets that None item to
know if all the module is processed.

Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Cc: Lucy Yan <lucyyan@google.com>

Reviewed-by: Liming Gao <liming.gao@intel.com>
2020-08-07 01:44:36 +00:00
..
AutoGen.py BaseTools: Decouple AutoGen Objects 2019-08-09 23:15:52 +08:00
AutoGenWorker.py BaseTools: Improve the method of checking queue empty 2020-08-07 01:44:36 +00:00
BuildEngine.py BaseTools: Fix string concatenation 2020-07-02 10:09:17 +00:00
DataPipe.py BaseTools: Leverage compiler output to optimize binary cache 2019-12-10 02:07:12 +00:00
GenC.py BaseTools: remove unnecessary calls of os.exist 2019-09-17 10:19:05 +08:00
GenDepex.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenMake.py BaseTools: Generate multiple rules when multiple output files 2020-07-02 10:09:17 +00:00
GenPcdDb.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenVar.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IdfClassObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
IncludesAutoGen.py BaseTools: Remove invalid leading space before !INCLUDE in Makefile 2020-03-02 02:36:25 +00:00
InfSectionParser.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ModuleAutoGen.py BaseTools: Generate multiple rules when multiple output files 2020-07-02 10:09:17 +00:00
ModuleAutoGenHelper.py BaseTools: Fixed issue for IgnoreAutoGen 2019-09-10 08:39:18 +08:00
PlatformAutoGen.py BaseTools:GuidedSectionTools.txt is not generated correctly 2020-03-31 04:09:43 +00:00
StrGather.py BaseTools:Add extra debugging message 2019-08-01 15:36:48 +08:00
UniClassObject.py BaseTools: remove unnecessary calls of os.exist 2019-09-17 10:19:05 +08:00
ValidCheckingInfoObject.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
WorkspaceAutoGen.py BaseTools: Add Guid name support in GenFfs. 2020-07-17 05:25:41 +00:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00