[Lldb-commits] [lldb] r290163 - Change the timeout in CallBoardSystemServiceOpenApplication to

Jason Molenda via lldb-commits lldb-commits at lists.llvm.org
Mon Dec 19 20:54:04 PST 2016


Author: jmolenda
Date: Mon Dec 19 22:54:04 2016
New Revision: 290163

URL: http://llvm.org/viewvc/llvm-project?rev=290163&view=rev
Log:
Change the timeout in CallBoardSystemServiceOpenApplication to 
30 seconds to match the old springboard timeout; the launcher
should time out before that and we will hopefully get back
an informative error message instead of timing out ourselves.

Modified:
    lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm

Modified: lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm?rev=290163&r1=290162&r2=290163&view=diff
==============================================================================
--- lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm (original)
+++ lldb/trunk/tools/debugserver/source/MacOSX/MachProcess.mm Mon Dec 19 22:54:04 2016
@@ -157,7 +157,7 @@ static bool CallBoardSystemServiceOpenAp
 
   ];
 
-  const uint32_t timeout_secs = 20;
+  const uint32_t timeout_secs = 30;
 
   dispatch_time_t timeout =
       dispatch_time(DISPATCH_TIME_NOW, timeout_secs * NSEC_PER_SEC);




More information about the lldb-commits mailing list