summaryrefslogtreecommitdiffstats
path: root/libc/bionic/libc_init_dynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/libc_init_dynamic.c')
-rw-r--r--libc/bionic/libc_init_dynamic.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/bionic/libc_init_dynamic.c b/libc/bionic/libc_init_dynamic.c
index 4bb2a81..1c8480c 100644
--- a/libc/bionic/libc_init_dynamic.c
+++ b/libc/bionic/libc_init_dynamic.c
@@ -76,6 +76,12 @@ void __libc_preinit(void)
__libc_init_common(elfdata);
+ /* Setup pthread routines accordingly to the environment.
+ * Requires system properties
+ */
+ extern void pthread_debug_init(void);
+ pthread_debug_init();
+
/* Setup malloc routines accordingly to the environment.
* Requires system properties
*/