diff options
author | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-04 15:09:14 +0000 |
---|---|---|
committer | Kuba Brecka <kuba.brecka@gmail.com> | 2015-11-04 15:09:14 +0000 |
commit | a1186b828ffb1b796b067a3d46fcc8e827006a5f (patch) | |
tree | 4461489907c97bee51186412cba23a600b35fa2a /lldb/packages/Python/lldbsuite/test/python_api/thread | |
parent | a2b0ac40cfe37cfacb8648814cc74f6e8d2c0ed3 (diff) | |
download | bcm5719-llvm-a1186b828ffb1b796b067a3d46fcc8e827006a5f.tar.gz bcm5719-llvm-a1186b828ffb1b796b067a3d46fcc8e827006a5f.zip |
[tsan] Handle libdispatch worker threads on OS X
On OS X, GCD worker threads are created without a call to pthread_create. We need to properly register these threads with ThreadCreate and ThreadStart. This patch uses a libpthread API (`pthread_introspection_hook_install`) to get notifications about new threads and about threads that are about to be destroyed.
Differential Revision: http://reviews.llvm.org/D14328
llvm-svn: 252049
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions