diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-24 02:55:31 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-26 20:23:24 +0200 |
commit | 29ff9055c80efe77a7130767a9fcb3ab8c67e8ce (patch) | |
tree | b061656c1336d7d73ed5eef59352e3d50d8147a7 /libpthread/linuxthreads/internals.h | |
parent | b06f85d62c41a4ed108628b1c564203f36c0ab4e (diff) |
use a single libc and deduplicate threading code
Similar to musl libc a single libc has many benefits and solves
some open issues with uClibc-ng.
- no pthread_mutex_* weak symbols exported anymore
- applications no longer failing to link when either
-lrt or -lpthread are missing for dynamic and static linking mode
- smaller C library
- slightly better runtime performance
Diffstat (limited to 'libpthread/linuxthreads/internals.h')
-rw-r--r-- | libpthread/linuxthreads/internals.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libpthread/linuxthreads/internals.h b/libpthread/linuxthreads/internals.h index 1b310b564..ab6b01528 100644 --- a/libpthread/linuxthreads/internals.h +++ b/libpthread/linuxthreads/internals.h @@ -446,7 +446,6 @@ static __inline__ pthread_descr thread_self (void) /* Defined and used in libc.so. */ extern int __libc_multiple_threads attribute_hidden; -extern int __librt_multiple_threads; /* Internal global functions */ @@ -524,6 +523,6 @@ extern void __linuxthreads_create_event (void) attribute_hidden; extern void __linuxthreads_death_event (void) attribute_hidden; extern void __linuxthreads_reap_event (void) attribute_hidden; -#include <pthread-functions.h> +extern int * __libc_pthread_init (void); #endif /* internals.h */ |