Age | Commit message (Collapse) | Author |
|
* pthread/pt-alloc.c (__pthread_alloc): Use __pthread_rwlock_wrlock and
__pthread_rwlock_unlock instead of pthread_rwlock_wrlock and
pthread_rwlock_unlock.
* pthread/pt-create.c (__pthread_create_internal): Use__pthread_rwlock_rdlock and
__pthread_rwlock_unlock instead of pthread_rwlock_rdlock and
pthread_rwlock_unlock.
* pthread/pt-dealloc.c (__pthread_dealloc): Use
__pthread_cond_broadcast, __pthread_mutex_lock, and
__pthread_mutex_unlock instead of pthread_cond_broadcast,
pthread_mutex_lock, and pthread_mutex_unlock
* pthread/pt-exit.c (__pthread_exit): Use __pthread_setcancelstate and
__pthread_cond_broadcast instead of pthread_setcancelstate and
pthread_cond_broadcast.
* pthread/pt-internal.h (__pthread_getid, __pthread_setid): Use
__pthread_rwlock_rdlock, __pthread_rwlock_wrlock, and
__pthread_rwlock_unlock instead of pthread_rwlock_rdlock,
pthread_rwlock_wrlock, and pthread_rwlock_unlock
* pthread/pt-join.c (pthread_join): Use __pthread_cond_wait instead of
pthread_cond_wait.
* sysdeps/hurd/pt-key-delete.c (pthread_key_delete): Use
__pthread_rwlock_rdlock and __pthread_rwlock_unlock instead of
pthread_rwlock_rdlock and pthread_rwlock_unlock.
|
|
as required by Posix
* sysdeps/pthread/bits/once.h (__PTHREAD_ONCE_INIT): Cast initializer to
(struct __pthread_once).
|
|
* Makefile (CPPFLAGS): Add -imacros $(srcdir)/not-in-libc.h only when
IN_GLIBC is no.
|
|
* pthread/pt-create.c (__pthread_create_internal): Call __getrlimit
instead of getrlimit.
|
|
* pthreadP.h: New file.
* sysdeps/generic/pt-kill.c (pthread_kill): Rename to __pthread_kill.
pthread_kill: New strong alias.
* sysdeps/hurd/pt-kill.c: Likewise.
* sysdeps/generic/raise.c: Include <pthreadP.h> instead of <pthread.h>.
Make __pthread_kill and __pthread_self weak.
(raise): Use __pthread_kill and __pthread_self instead of pthread_kill
and pthread_self.
|
|
Some applications make use of it, and get spurious strong dependencies when
the symbol is versioned as private.
* Version (__register_atfork): Move from GLIBC_PRIVATE to GLIBC_2.22.
|
|
|
|
|
|
|
|
* forward.c (struct atfork): Add dso_handle field.
(__register_atfork): Add dso_handle parameter. Store it it dso_handle field.
* sysdeps/generic/pt-atfork.c (__dso_handle): New variable.
(pthread_atfork): Pass address of __dso_handle to __register_atfork.
|
|
|
|
|
|
* sysdeps/pthread/bits/libc-lockP.h: Use IS_IN (libc) instead of !defined
NOT_IN_libc.
|
|
|
|
This reverts commit 80d014410ffdd3ce86ff7dcc7d8ca695f6fbb2ed.
|
|
|
|
This reverts commit edb5bb83ec918dc6b77b3da5b246c056932d78d7.
|
|
|
|
* pthread/alloca_cutoff.c: New file.
* Makefile (routines): Add alloca_cutoff.
* Versions (GLIBC_PRIVATE): Add __libc_alloca_cutoff.
|
|
|
|
* shlib-versions: Remove first column.
|
|
|
|
* forward.c (pthread_setcancelstate): Define alias to
__pthread_setcancelstate.
|
|
|
|
|
|
* forward.c (pthread_setcancelstate): Define alias to
__pthread_setcancelstate.
|
|
This reverts commit 5ccba334490200282cda43f74df90bb79da2048c.
|
|
Like glibc does.
* Versions (__register_atfork): Expose with version GLIBC_2.24 instead of
GLIBC_PRIVATE.
|
|
|
|
|
|
* sysdeps/pthread/bits/libc-lockP.h: Move to...
* sysdeps/pthread/libc-lockP.h: ... here.
|
|
|
|
|
|
|
|
* sysdeps/mach/hurd/pt-sigstate.c (__pthread_sigstate): Always remove
_SIG_CANT_MASK from blocked signals, like sigprocmask does.
|
|
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.
|
|
* include/pthread/pthread.h: Add __THROW and __THROWNL specification to
extern inlines definitions.
|
|
* include/pthread/pthread.h: Add __THROW and __nonnull attributes to
functions.
|
|
* 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.
|
|
|
|
|
|
master-glibc
|
|
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.
|
|
|
|
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.
|
|
* sysdeps/hurd/pt-kill.c (pthread_kill): Lock ss lock before calling
_hurd_raise_signal. Return error returned by _hurd_raise_signal.
|
|
* sysdeps/generic/raise.c: Include <signal.h> and <unistd.h>.
(raise): Only set errno when calling pthread_kill, not kill.
|
|
* sysdeps/pthread/bits/semaphore.h: Include <bits/spinlock.h> and
<bits/pthread.h> instead of the full <pthread.h>.
|
|
* include/pthread/pthread.h (pthread_mutex_setprioceiling): Prepend '__'
to prio parameter name.
|
|
* ./include/pthread/pthread.h (pthread_exit): Use __noreturn__ attribute
instead of noreturn.
|