Author: labath Date: Tue Jul 12 10:13:11 2016 New Revision: 275175 URL: http://llvm.org/viewvc/llvm-project?rev=275175&view=rev Log: [NPL] Increase ETXTBSY workaround sleep
10ms does not seem to be enough all the time, go to 50. Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Modified: lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp?rev=275175&r1=275174&r2=275175&view=diff ============================================================================== --- lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp (original) +++ lldb/trunk/source/Plugins/Process/Linux/NativeProcessLinux.cpp Tue Jul 12 10:13:11 2016 @@ -569,7 +569,7 @@ NativeProcessLinux::ChildFunc(const Laun // issued, such as when running the test suite. (The file remains open when someone does // an "adb shell" command in the fork() child before it has had a chance to exec.) Since // this state should clear up quickly, wait a while and then give it one more go. - usleep(10000); + usleep(50000); execve(args.m_argv[0], const_cast<char *const *>(args.m_argv), const_cast<char *const *>(envp)); } _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits