Age | Commit message (Collapse) | Author |
|
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.
|
|
* Versions (libc): Add missing closing brace.
|
|
This reverts commit 8b48173fdc8f52a234ff9d3d1de5277c60d7eea4.
|
|
* Makefile (libpthread-routines): Add shm-directory.
* Versions (GLIBC_PRIVATE): Add __shm_directory.
|
|
Some versions of std::thread use it to detect the presence of libpthread (don't
ask why)
* sysdeps/hurd/pt-key-create.c (pthread_key_create): Rename to
__pthread_key_create.
(pthread_key_create): Define as strong alias of __pthread_key_create.
* Versions (libpthread): Add __pthread_key_create.
|
|
* Versions (libc): Add __register_atfork with GLIBC_PRIVATE version.
* forward.c: Include <errno.h>
(atfork): New structure.
(atfork_lock): New mutex.
(fork_handlers, fork_last_handler): New variables.
(atfork_pthread_prepare, atfork_pthread_parent, atfork_pthread_child): New
atfork hooks
(__register_atfork): New function.
* sysdeps/generic/pt-atfork.c (pthread_atfork): Call __register_atfork.
|
|
This new Hurd-specific function is meant to allow Hurd servers to wait
for events during a bounded period of time.
* Makefile (libpthread-routines): Add pt-hurd-cond-timedwait.
* Versions: Include pthread_hurd_cond_timedwait_np in version GLIBC_2.17
of libpthread.
* sysdeps/mach/hurd/bits/pthread-np.h (pthread_hurd_cond_timedwait_np): New
declaration.
* sysdeps/mach/hurd/pt-hurd-cond-timedwait.c: New file that provides
__pthread_hurd_cond_timedwait_internal and __pthread_hurd_cond_timedwait_np.
* sysdeps/mach/hurd/pt-hurd-cond-wait.c (__pthread_hurd_cond_wait_np):
Rewrite as a call to __pthread_hurd_cond_timedwait_internal with no timeout.
|
|
* Versions: Include _IO_flockfile, _IO_ftrylockfile and _IO_funlockfile
in version 2.2.6 of libpthread.
|
|
* Version: Do not include pthread_hurd_cond_wait_np in libc, as we don't
define a forward for it. Include pthread_hurd_cond_wait_np in version
GLIBC_2.17 of libpthread, as this is a new symbol.
|
|
* Makefile (libpthread-routines): Add pt-hurd-cond-wait.
* Versions (libc): Add pthread_hurd_cond_wait_np.
(libpthread): Likewise.
* sysdeps/mach/hurd/bits/pthread-np.h: New file.
* sysdeps/mach/hurd/pt-hurd-cond-wait.c: Likewise.
|
|
* Makeconfig, Versions, configure.in, forward.c, libc_pthread_init.c,
pthread/pthread-functions.h, shlib-versions, sysdeps/i386/Implies,
sysdeps/mach/hurd/Implies, sysdeps/mach/hurd/i386/Implies: New files.
* Makefile: Add glibc rules, enabled when IN_GLIBC is defined to yes, when
$(..) is defined.
* pthread/pt-initialize.c [IS_IN_libpthread] (pthread_functions): New variable.
[IS_IN_libpthread] (__pthread_initialize): Call __libc_pthread_init.
|