summaryrefslogtreecommitdiff
path: root/Versions
AgeCommit message (Collapse)Author
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-09-01Fix syntaxSamuel Thibault
* Versions (libc): Add missing closing brace.
2015-05-06Revert "Fix librt link"Samuel Thibault
This reverts commit 8b48173fdc8f52a234ff9d3d1de5277c60d7eea4.
2015-03-20Fix librt linkSamuel Thibault
* Makefile (libpthread-routines): Add shm-directory. * Versions (GLIBC_PRIVATE): Add __shm_directory.
2014-08-20Add __pthread_key_create aliasSamuel Thibault
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.
2013-09-21Add pthread_atfork supportSamuel Thibault
* 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.
2013-02-15Add pthread_hurd_cond_timedwait_npRichard Braun
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.
2013-01-22Fix versions of _IO_flockfile, _IO_ftrylockfile and _IO_funlockfileRichard Braun
* Versions: Include _IO_flockfile, _IO_ftrylockfile and _IO_funlockfile in version 2.2.6 of libpthread.
2012-11-25Fix pthread_hurd_cond_wait_np versionsSamuel Thibault
* 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.
2012-11-25Add Hurd-specific condition wait functionRichard Braun
* 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.
2012-04-21Add glibc build supportSamuel Thibault
* 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.