summaryrefslogtreecommitdiff
path: root/nptl
AgeCommit message (Collapse)Author
2009-07-27Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-07-26Memory ordering in pthread_mutex_{,timed}lock.Ulrich Drepper
All commits should have happened before the mutex lock is taken. Therefore use the _rel variant of the cmpxchg atomic op.
2009-07-23Check for .cfi_{personality,lsda} on x86-64.Ulrich Drepper
We need this support in NPTL now to avoid the hand-coded tables.
2009-07-23Fix pthread_cond_timedwait error handling on old kernels.Ulrich Drepper
2009-07-22Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-07-20Minor optimizations of last x86-64 condvar changes.Ulrich Drepper
2009-07-20Merge commit 'origin/master' into fedora/masterAndreas Schwab
2009-07-19Support requeueing for condvars using PI mutex. x86-64 only.Ulrich Drepper
Add support for the new FUTEX_WAIT_REQUEUE_PI and FUTEX_CMP_REQUEUE_PI options of futex.
2009-07-19Make x86-64 pthread_cond_timedwait more robust.Ulrich Drepper
It just happens that __pthread_enable_asynccancel doesn't modify the $rdi register. But this isn't guaranteed. Hence we reload the register after the calls.
2009-07-19Extend x86-64 __lll_robust_timedlock_wait to use futex syscall with absolute ↵Ulrich Drepper
timeout.
2009-07-18Add more sem_timedwait tests.Ulrich Drepper
2009-07-18Extend x86-64 pthread_rwlock_timedrdlock to use futex syscall with absolute ↵Ulrich Drepper
timeout.
2009-07-18Pretty printing last change.Ulrich Drepper
2009-07-18Extend x86-64 pthread_rwlock_timedwrlock to use futex syscall with absolute ↵Ulrich Drepper
timeout.
2009-07-18Remove leftover cfi.Ulrich Drepper
2009-07-18Extend pthread_cond_timedwait tests.Ulrich Drepper
2009-07-18Extend x86-64 pthread_cond_timedwait to use futex syscall with absolute timeout.Ulrich Drepper
2009-07-18Optimize x86-64 pthread_cond_timedwait.Ulrich Drepper
Instead of actively registering an unwind buffer we now use the exception handling functionality of the gcc runtime.
2009-07-18Optimize x86-64 pthread_cond_wait.Ulrich Drepper
Instead of actively registering an unwind buffer we now use the exception handling functionality of the gcc runtime.
2009-07-17Extend x86-64 sem_timedwait to use futex syscall with absolute timeout.Ulrich Drepper
2009-07-17Consistently use symbolic constants.Ulrich Drepper
2009-07-17Replace hand-coded unwind tables from x86-64 sem_timedwait.Ulrich Drepper
2009-07-17Optimize x86-64 sem_wait for uncontested semaphore.Ulrich Drepper
2009-07-17Replace hand-coded unwind tables from x86-64 sem_wait.Ulrich Drepper
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_cond_wait.Ulrich Drepper
2009-06-16Merge branch 'master' of sourceware.org:/git/glibc into fedora/masterAndreas Schwab
2009-06-12Implement pthread_sigqueue.Ulrich Drepper
The kernel from 2.3.31 on supports the rt_tgsigqueueinfo syscall. Use it to implement the non-standard extension which, like sigqueue, can pass additional data to the receiving thread.
2009-06-11Fix futex syscall parameter for x86 absolute timeout waits.Bryan Kadzban
This affects only installations compiled for kernels older than 2.6.18.
2009-06-10Merge commit 'origin/master' into fedora/masterAndreas Schwab
Conflicts: ChangeLog sysdeps/unix/sysv/linux/i386/sysconf.c sysdeps/x86_64/cacheinfo.c version.h
2009-05-16libc-cancellation.c cleanup.Ulrich Drepper
The unrelated function __libc_cleanup_routine should not be in this file. Move it into its own file.
2009-05-16Unify source for async cancel handling.Ulrich Drepper
Unify all three places where we enable async cancellation for syscalls. Optimize a bit.
2009-05-16Rename nptl/init.c to nptl/nptl-init.c.Ulrich Drepper
Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924.
2009-05-15ChangeLog entries incorrectly applied.Ulrich Drepper
2009-05-15Add missing export of fallocate64 on 32-bit platforms.Jakub Jelinek
Due to a pasto the fallocate64 interface, introduced in glibc 2.10, isn't exported for 32-bit Linux platforms. It is too late for this now so exported them for glibc 2.11.
2009-05-15Don't try to cleanup libselinux and libaudit.Jakub Jelinek
Because we are not shutting down the other threads first another thread might work on a query before the process shuts down. In this case the now uninitialized libselinux and libaudit might be used. Just don't free the resources. It's not necessary anyway because the process is about to terminate.
2009-05-15Fix change to prevent cancel signal in unsafe places.Ulrich Drepper
The bits tested to decide when to delay the return when switching off async cancel mode were wrong. Fix that. Also close a race condition in pthread_cancel where the bit indicating the cancellation is unconditionally set even if the cancel type might have changed.
2009-05-15No cancel signal in unsafe places.Ulrich Drepper
When disabling async cancellation we cannot return from the function call if the thread is canceled. This happens when the cancel bits have been set before async cancel is disabled but the signal hasn't been sent/received yet. Delay for as long as necessary since otherwise the signal might be received in an unsafe context.
2009-05-09Updated to fedora-glibc-20090509T1828cvs/fedora-glibc-2_10-1Jakub Jelinek
2009-04-29Add missing CHangeLog entry.Jakub Jelinek
2009-01-07 Ulrich Drepper <drepper@redhat.com> * (in_flight_stack): New variable. (stack_list_del): New function. Use instead of list_del. (stack_list_add): New function. Use instead of list_add when adding to stack_cache and stack_used lists. (__reclaim_stacks): Complete operations on stack_cache and stack_used lists when the fork call interrupted another thread.
2009-04-27* cancellation.c (__pthread_disable_asynccancel): Use THREAD_ATOMIC_ANDUlrich Drepper
is available. * libc-cancellation.c (__libc_disable_asynccancel): Likewise. * sysdeps/x86_64/tls.h: Define THREAD_ATOMIC_AND. * sysdeps/i386/tls.h: Likewise. (tcbhead_t): Add __private_tm member.
2009-04-27Updated to fedora-glibc-20090427T1419cvs/fedora-glibc-2_9_90-22Jakub Jelinek
2009-04-26* sem_open.c (sem_open): Rewrite initialization of initsem toUlrich Drepper
avoid warnings.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper
Avoid warning by using may_alias attribute on ptrhack.
2009-04-24Updated to fedora-glibc-20090424T0747cvs/fedora-glibc-2_9_90-20Jakub Jelinek
2009-04-23[BZ #9963]Ulrich Drepper
2009-04-22 Ulrich Drepper <drepper@redhat.com> [BZ #9963] * locales/en_PH: Fix LC_PAPER. * locales/es_CL: Likewise. * locales/es_CO: Likewise. * locales/es_MX: Likewise. * locales/es_US: Likewise. * locales/es_VE: Likewise. * locales/fil_PH: Likewise. * locales/ik_CA: Likewise. * locales/iu_CA: Likewise. * locales/tl_PH: Likewise.
2009-04-23* pthread_attr_setschedparam.c (__pthread_attr_setschedparam):Ulrich Drepper
Check policy and priority for validity. Patch mostly by Zhang Xiliang <zhangxiliang@cn.fujitsu.com>.
2009-03-20Updated to fedora-glibc-20090320T1944cvs/fedora-glibc-2_9_90-11Jakub Jelinek
2009-03-15[BZ #5807]Ulrich Drepper
2009-03-15 Ulrich Drepper <drepper@redhat.com> [BZ #5807] * string/strlen.c (strlen): Fix omission in the expression to test for NUL bytes.
2009-03-10* init.c (nptl_freeres): Compile only for SHARED.Ulrich Drepper