llvm-project/lldb/source/Utility
Pavel Labath 7ef36b5c15 Work around a linux libc bug causing a crash in TaskPool
Summary:
Doing a pthread_detach while the thread is exiting can cause crashes or other mischief, so we
make sure the thread stays around long enough. The performance impact of the added
synchronization should be minimal, as the parent thread is already holding a mutex, so I am just
making sure it holds it for a little while longer. It's possible the new thread will block on
this mutex immediately after startup, but it should be unblocked really quickly and some
blocking is unavoidable if we actually want to have this synchronization.

Reviewers: tberghammer

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D19153

llvm-svn: 266423
2016-04-15 10:49:07 +00:00
..
ARM64_DWARF_Registers.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
ARM64_DWARF_Registers.h lldb arm64 import. 2014-03-29 18:54:20 +00:00
ARM64_ehframe_Registers.h Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
ARM_DWARF_Registers.cpp Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
ARM_DWARF_Registers.h
ARM_ehframe_Registers.h Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
CMakeLists.txt Add a new task pool class to LLDB 2015-10-20 12:42:05 +00:00
ConvertEnum.cpp Add support for handling absolute symbols in ELF 2016-02-25 12:23:43 +00:00
JSON.cpp Fix all of the unannotated switch cases to annotate the fall through or do the right thing and break. 2016-02-26 01:20:20 +00:00
KQueue.cpp
KQueue.h
LLDBAssert.cpp Have lldb_assert accept bool expressions 2015-05-08 09:53:31 +00:00
ModuleCache.cpp Add modules downloaded by ModuleCache to the global ModuleList 2015-12-10 17:08:23 +00:00
ModuleCache.h Download symbol file for .oat files on android 2015-08-12 11:10:25 +00:00
NameMatches.cpp Move some functions from source/lldb.cpp to Utility. 2015-03-18 21:31:45 +00:00
PseudoTerminal.cpp Get lldb-server building on android-9 2015-05-12 01:10:56 +00:00
Range.cpp <rdar://problem/14134716> 2013-06-17 22:51:50 +00:00
RegisterNumber.cpp Add an additional check to UnwindAssembly_x86::AugmentUnwindPlanFromCallSite 2015-01-13 06:07:07 +00:00
SharingPtr.cpp Fix typos. 2015-07-22 00:16:02 +00:00
StringExtractor.cpp Add comment in StringExtractor::GetHexU8 2015-09-25 18:23:50 +00:00
StringExtractorGDBRemote.cpp Fixed an issue that could cause debugserver to return two stop reply packets ($T packets) for one \x03 interrupt. The problem was that when a \x03 byte is sent to debugserver while the process is running, and up calling: 2016-04-01 00:41:29 +00:00
StringExtractorGDBRemote.h Fixed an issue that could cause debugserver to return two stop reply packets ($T packets) for one \x03 interrupt. The problem was that when a \x03 byte is sent to debugserver while the process is running, and up calling: 2016-04-01 00:41:29 +00:00
StringLexer.cpp Removed a couple of static helpers in the data formatters, replaced with new general logic in StringLexer 2014-11-14 22:58:11 +00:00
TaskPool.cpp Work around a linux libc bug causing a crash in TaskPool 2016-04-15 10:49:07 +00:00
TimeSpecTimeout.cpp
TimeSpecTimeout.h Switch NULL to C++11 nullptr in source/Symbol and source/Utility 2014-04-20 13:17:36 +00:00
UriParser.cpp Simplify find_first_of & find_last_of on single char. 2015-09-01 23:57:17 +00:00
UriParser.h Make UriParser to support [$HOSTNAME] notation. 2015-08-20 23:09:34 +00:00
UuidCompatibility.h