mirror_edk2/BaseTools/Source/Python/Common
Shi, Steven 94459080c1 BaseTools: Improve the file saving and copying reliability
BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2079

The Basetool CopyFileOnChange() and SaveFileOnChange()
functions might raise the IOError occasionally when build
in Windows with multi-process and build cache enabled.
The CopyFileOnChange() and SaveFileOnChange() might be invoked
in multiple sub-processes simultaneously, and this patch adds
global locks to sync these functions invoking which can
harden their reliability.

Cc: Liming Gao <liming.gao@intel.com>
Cc: Bob Feng <bob.c.feng@intel.com>
Signed-off-by: Steven Shi <steven.shi@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2019-08-20 14:06:07 +08:00
..
Edk2 BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Uefi BaseTools/Capsule: Supports multiple payloads and drivers in capsule 2019-06-28 11:39:06 +08:00
__init__.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
buildoptions.py BaseTools: Move buildoptions.py to Common folder 2019-08-14 13:54:49 +08:00
BuildToolError.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
BuildVersion.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
caching.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DataType.py BaseTools: Add HOST_APPLICATION module type. 2019-07-12 21:06:57 +08:00
EdkLogger.py BaseTools: Enable block queue log agent. 2019-08-09 23:15:55 +08:00
Expression.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GlobalData.py BaseTools: Improve the file saving and copying reliability 2019-08-20 14:06:07 +08:00
LongFilePathOs.py BaseTools:Introduce CopyFileOnChange() function to copy cache files 2019-06-17 17:00:46 +08:00
LongFilePathOsPath.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
LongFilePathSupport.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Misc.py BaseTools: Improve the file saving and copying reliability 2019-08-20 14:06:07 +08:00
MultipleWorkspace.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Parsing.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RangeExpression.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
StringUtils.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
TargetTxtClassObject.py BaseTools: Move buildoptions.py to Common folder 2019-08-14 13:54:49 +08:00
ToolDefClassObject.py BaseTools: Singleton the object to handle build conf file 2019-08-09 23:15:51 +08:00
VariableAttributes.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
VpdInfoFile.py BaseTools:Updata the output encoding of the Popen function 2019-08-01 15:36:48 +08:00