Re: [edk2-devel] [Patch] BaseTools: Improve the method of checking queue empty

2020-08-04 Thread Liming Gao
Reviewed-by: Liming Gao -Original Message- From: devel@edk2.groups.io On Behalf Of Bob Feng Sent: 2020年8月3日 10:04 To: devel@edk2.groups.io Cc: Feng, Bob C ; Gao, Liming ; Chen, Christine ; Lucy Yan Subject: [edk2-devel] [Patch] BaseTools: Improve the method of checking queue empty

[edk2-devel] [Patch] BaseTools: Improve the method of checking queue empty

2020-08-02 Thread Bob Feng
From: "Feng, Bob C" 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