summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_dynamic.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-05-14 11:35:49 -0700
committerElliott Hughes <enh@google.com>2014-05-14 11:38:22 -0700
commit07f1ded1399805fa9367f4db2936832b0c22b7a5 (patch)
treeef1ea3c1b18e92aad46fa839de895bf76a4780c7 /libc/bionic/libc_init_dynamic.cpp
parente6c27a7af7a9b13e4e3d3ebd604d28effa9e9322 (diff)
downloadbionic-07f1ded1399805fa9367f4db2936832b0c22b7a5.zip
bionic-07f1ded1399805fa9367f4db2936832b0c22b7a5.tar.gz
bionic-07f1ded1399805fa9367f4db2936832b0c22b7a5.tar.bz2
Remove the broken pthread deadlock prediction.
This hasn't built in over one release cycle and no one even noticed. art does this the right way and other projects should do the same. Change-Id: I7d1fb84c4080e008f329ee73e209ce85a36e6d55
Diffstat (limited to 'libc/bionic/libc_init_dynamic.cpp')
-rw-r--r--libc/bionic/libc_init_dynamic.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/libc/bionic/libc_init_dynamic.cpp b/libc/bionic/libc_init_dynamic.cpp
index 3d98861..659cf39 100644
--- a/libc/bionic/libc_init_dynamic.cpp
+++ b/libc/bionic/libc_init_dynamic.cpp
@@ -55,7 +55,6 @@
#include "private/KernelArgumentBlock.h"
extern "C" {
- extern void pthread_debug_init(void);
extern void malloc_debug_init(void);
extern void malloc_debug_fini(void);
extern void netdClientInit(void);
@@ -77,11 +76,8 @@ __attribute__((constructor)) static void __libc_preinit() {
__libc_init_common(*args);
- // Hooks for the debug malloc and pthread libraries to let them know that we're starting up.
- pthread_debug_init();
+ // Hooks for various libraries to let them know that we're starting up.
malloc_debug_init();
-
- // Hook for the netd client library to let it know that we're starting up.
netdClientInit();
}