summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-08-21Revert "Fix build with 2.22"Samuel Thibault
This reverts commit edb5bb83ec918dc6b77b3da5b246c056932d78d7.
2016-08-21Merge branch 'master-glibc-2.22' into master-glibc-2.23Samuel Thibault
2016-08-21fix glibc 2.22 buildSamuel Thibault
* pthread/alloca_cutoff.c: New file. * Makefile (routines): Add alloca_cutoff. * Versions (GLIBC_PRIVATE): Add __libc_alloca_cutoff.
2016-08-21Merge branch 'master-glibc-2.22' into master-glibc-2.23Samuel Thibault
2016-08-21Fix build with glibc 2.22Samuel Thibault
* shlib-versions: Remove first column.
2016-08-20Fix build with 2.22Samuel Thibault
2016-08-20Add missing pthread_setcancelstate aliasSamuel Thibault
* forward.c (pthread_setcancelstate): Define alias to __pthread_setcancelstate.
2016-08-20Fix weak reference for static linkingSamuel Thibault
2016-08-20Mark __libc_pthread_init as internal function, as in nptlSamuel Thibault
2016-07-13Add missing pthread_setcancelstate aliasSamuel Thibault
* forward.c (pthread_setcancelstate): Define alias to __pthread_setcancelstate.
2016-07-07Revert "Expose __register_atfork"Samuel Thibault
This reverts commit 5ccba334490200282cda43f74df90bb79da2048c.
2016-07-06Expose __register_atforkSamuel Thibault
Like glibc does. * Versions (__register_atfork): Expose with version GLIBC_2.24 instead of GLIBC_PRIVATE.
2016-03-21Fix weak reference for static linkingSamuel Thibault
2016-03-20Mark __libc_pthread_init as internal function, as in nptlSamuel Thibault
2016-03-19Fix build with 2.23Samuel Thibault
* sysdeps/pthread/bits/libc-lockP.h: Move to... * sysdeps/pthread/libc-lockP.h: ... here.
2016-03-19Merge branch 'master-glibc-2.21' into master-glibc-2.23Samuel Thibault
2016-03-19Merge branch 'master' into master-glibc-2.21Samuel Thibault
2016-03-17Fix build against glibc 2.23Samuel Thibault
2016-01-03Do not block unmaskable signalsglibc-2.19-hurd+libpthread-20160518Samuel Thibault
* sysdeps/mach/hurd/pt-sigstate.c (__pthread_sigstate): Always remove _SIG_CANT_MASK from blocked signals, like sigprocmask does.
2015-12-22Remove __THROW* from extern inlinesSamuel Thibault
They pose more problems than they solve. * include/pthread/pthread.h (pthread_equal, pthread_spin_destroy, pthread_spin_init, pthread_spin_lock, pthread_spin_trylock, pthread_spin_unlock): Remove __THROW or __THROWNL attribute.
2015-12-11Add throw specification to inlinesSamuel Thibault
* include/pthread/pthread.h: Add __THROW and __THROWNL specification to extern inlines definitions.
2015-12-06Add __THROW and __nonnull attributesSamuel Thibault
* include/pthread/pthread.h: Add __THROW and __nonnull attributes to functions.
2015-11-25Fix build with hidden supportSamuel Thibault
* sysdeps/generic/pt-key-create.c (pthread_key_create): Rename to __pthread_key_create. (pthread_key_create): New strong_alias. * sysdeps/generic/raise.c (raise): Add libc_hidden_def. (gsignal): Add weak_alias. * sysdeps/hurd/pt-key-create.c (__pthread_key_create): Remove hidden_def.
2015-11-01Merge branch 'master-glibc' into master-glibc-2.21Samuel Thibault
2015-11-01Merge branch 'master-glibc' into master-glibc-2.21Samuel Thibault
2015-10-31Merge branch 'master' of git.savannah.gnu.org:/srv/git/hurd/libpthread into ↵glibc-2.19-hurd+libpthread-20151031Samuel Thibault
master-glibc
2015-10-31Do not use __thread as parameter nameSamuel Thibault
That is the TLS qualifier. * include/pthread/pthread.h (pthread_getattr_np, pthread_cancel, pthread_kill, pthread_getcpuclockid, pthread_getschedparam, pthread_setschedparam, pthread_setschedprio): Use __thr as parameter name instead of __thread.
2015-10-31Merge branch 'master' into master-glibcSamuel Thibault
2015-10-11Remove __libc_getspecificSamuel Thibault
The version from libc was not made to be replaced, and doesn't need to indeed. * Version: Remove __libc_getspecific symbol. * libpthread.a: Likewise. * libpthread_pic.a: Likewise. * pthread/cthreads-compat: Remove __libc_getspecific function.
2015-10-10Fix pthread_killSamuel Thibault
* sysdeps/hurd/pt-kill.c (pthread_kill): Lock ss lock before calling _hurd_raise_signal. Return error returned by _hurd_raise_signal.
2015-10-10Fix errno set by raiseSamuel Thibault
* sysdeps/generic/raise.c: Include <signal.h> and <unistd.h>. (raise): Only set errno when calling pthread_kill, not kill.
2015-09-22Fix name exposure of including semaphore.hSamuel Thibault
* sysdeps/pthread/bits/semaphore.h: Include <bits/spinlock.h> and <bits/pthread.h> instead of the full <pthread.h>.
2015-09-22Avoid exposing function prototype parameter namesSamuel Thibault
* include/pthread/pthread.h (pthread_mutex_setprioceiling): Prepend '__' to prio parameter name.
2015-09-22Do not expose "noreturn" nameSamuel Thibault
* ./include/pthread/pthread.h (pthread_exit): Use __noreturn__ attribute instead of noreturn.
2015-09-21Avoid exposing function prototype parameter namesSamuel Thibault
* include/pthread/pthread.h: Prepend '__' to parameter names. * sysdeps/mach/hurd/bits/pthread-np.h: Likewise.
2015-09-01Move semaphore.h to place where glibc expects it to beSamuel Thibault
* include/semaphore.h: Move to ... * sysdeps/pthread/semaphore.h: ... here.
2015-09-01Harmonize semaphore.h with glibcSamuel Thibault
* include/semaphore.h: Reorder function declarations, prepend parameter names with __. (sem_init, sem_destroy, *sem_open, sem_close, sem_unlink, sem_getvalue): Add __THROW attribute. (sem_trywait, sem_post): Add __THROWNL attribute.
2015-09-01Fix inclusion of semaphore.h before sys/types.hSamuel Thibault
* include/semaphore.h: Include <sys/types.h> [__USE_XOPEN2K]: Define __need_timespec and include <time.h>
2015-09-01Fix syntaxSamuel Thibault
* Versions (libc): Add missing closing brace.
2015-09-01Fix spurious dependency of libc on libpthreadSamuel Thibault
* sysdeps/generic/raise.c (pthread_self): Make reference weak.
2015-09-01Fix raise thread-aware implementationSamuel Thibault
* sysdeps/generic/raise.c (pthread_kill): Make ref weak. (raise): Only call pthread_kill when it is not NULL. Call kill otherwise.
2015-09-01Drop debugging statementsSamuel Thibault
* sysdeps/generic/raise.c (raise): Do not call debug.
2015-09-01Fix raise.c buildSamuel Thibault
* sysdeps/generic/raise.c: Include <pthread.h> instead of non-existing "sig-internal.h"
2015-09-01Remove more unused signals implementationSamuel Thibault
* sysdeps/generic/killpg.c: Remove file. * sysdeps/generic/sigaddset.c: Likewise. * sysdeps/generic/sigdelset.c: Likewise. * sysdeps/generic/sigemptyset.c: Likewise. * sysdeps/generic/sigfillset.c: Likewise. * sysdeps/generic/siginterrupt.c: Likewise. * sysdeps/generic/sigismember.c: Likewise. * sysdeps/generic/signal.c: Likewise. * sysdeps/generic/sigwait.c: Likewise.
2015-09-01Harmonize semaphore.h with glibcSamuel Thibault
* include/semaphore.h: Reorder function declarations, prepend parameter names with __. (sem_init, sem_destroy, *sem_open, sem_close, sem_unlink, sem_getvalue): Add __THROW attribute. (sem_trywait, sem_post): Add __THROWNL attribute.
2015-09-01Fix inclusion of semaphore.h before sys/types.hSamuel Thibault
* include/semaphore.h: Include <sys/types.h> [__USE_XOPEN2K]: Define __need_timespec and include <time.h>
2015-08-30Fix syntaxSamuel Thibault
* Versions (libc): Add missing closing brace.
2015-08-28Fix spurious dependency of libc on libpthreadSamuel Thibault
* sysdeps/generic/raise.c (pthread_self): Make reference weak.
2015-08-20Fix raise thread-aware implementationSamuel Thibault
* sysdeps/generic/raise.c (pthread_kill): Make ref weak. (raise): Only call pthread_kill when it is not NULL. Call kill otherwise.
2015-08-20Drop debugging statementsSamuel Thibault
* sysdeps/generic/raise.c (raise): Do not call debug.