diff options
author | Cameron Desrochers <cameron@moodycamel.com> | 2016-06-14 16:22:45 +0000 |
---|---|---|
committer | Cameron Desrochers <cameron@moodycamel.com> | 2016-06-14 16:22:45 +0000 |
commit | 2c00fc41b494aa42d1f896f8b81ef10f2418c242 (patch) | |
tree | 78a83ab4681e1e5860d684b07297ab4c8b72d9e5 /llvm/docs/CommandGuide/FileCheck.rst | |
parent | 1d8b31b6d206be0b8e2dfa24fa965e71e1512ac1 (diff) | |
download | bcm5719-llvm-2c00fc41b494aa42d1f896f8b81ef10f2418c242.tar.gz bcm5719-llvm-2c00fc41b494aa42d1f896f8b81ef10f2418c242.zip |
[lldb] Fixed race conditions on private state thread exit
This patch fixes various races between the time the private state thread is signaled to exit and the time it actually exits (during which it no longer responds to events). Previously, this was consistently causing 2-second timeout delays on process detach/stop for us.
This also prevents crashes that were caused by the thread controlling its own owning pointer while the controller was using it (copying the thread wrapper is not enough to mitigate this, since the internal thread object was getting reset anyway). Again, we were seeing this consistently.
Differential Revision: http://reviews.llvm.org/D21296
llvm-svn: 272682
Diffstat (limited to 'llvm/docs/CommandGuide/FileCheck.rst')
0 files changed, 0 insertions, 0 deletions