mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
ModuleInterface: increase timeout time for .interface file lock
Harlan and Robert mentioned the default timeout time may not suffice for building the stdlib from the interface file. rdar://59560260
This commit is contained in:
@@ -420,7 +420,7 @@ bool ModuleInterfaceBuilder::buildSwiftModule(StringRef OutPath,
|
||||
case llvm::LockFileManager::LFS_Shared: {
|
||||
// Someone else is responsible for building the module. Wait for them to
|
||||
// finish.
|
||||
switch (Locked.waitForUnlock()) {
|
||||
switch (Locked.waitForUnlock(256)) {
|
||||
case llvm::LockFileManager::Res_Success: {
|
||||
// This process may have a different module output path. If the other
|
||||
// process doesn't build the interface to this output path, we should try
|
||||
|
||||
Reference in New Issue
Block a user