llvm-project/lldb/source
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
..
API Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
Breakpoint Breakpoint conditions were making result variables, which they should not do. 2016-04-12 17:17:35 +00:00
Commands Use the FormatEntity work for great good - parse summary strings before accepting them, and fail to add any strings that fail parsing 2016-04-12 21:57:11 +00:00
Core Fix usage of APInt.getRawData for big-endian systems 2016-04-15 09:55:52 +00:00
DataFormatters Remove even more of the data formatters that silently run code 2016-04-08 21:24:24 +00:00
Expression Fix usage of APInt.getRawData for big-endian systems 2016-04-15 09:55:52 +00:00
Host Support Linux on SystemZ as platform 2016-04-14 14:28:34 +00:00
Initialization Move DynamicLoader plugins to SystemInitializerFull 2016-03-29 15:00:26 +00:00
Interpreter Add help for our regular expression commands when aliased 2016-04-08 17:56:26 +00:00
Plugins Fix usage of APInt.getRawData for big-endian systems 2016-04-15 09:55:52 +00:00
Symbol Fix usage of APInt.getRawData for big-endian systems 2016-04-15 09:55:52 +00:00
Target Miscellaneous fixes for big-endian systems 2016-04-14 14:33:47 +00:00
Utility Work around a linux libc bug causing a crash in TaskPool 2016-04-15 10:49:07 +00:00
CMakeLists.txt Add initial CMake glue for the NetBSD platform 2015-10-24 00:27:04 +00:00
lldb.cpp Add more NetBSD platform glue for lldb 2015-11-07 15:31:54 +00:00