summaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv
AgeCommit message (Collapse)AuthorFilesLines
2009-11-18Minor optimizations and cleanups of x86 cond_broadcast.Ulrich Drepper2-11/+10
2009-11-18Update cfi offsets for pthread_cond_broadcast and signal fir x86.Dinakar Guniguntala2-38/+16
2009-11-17Minimal unwind section size reduction.Ulrich Drepper1-17/+14
2009-11-17Use cfi directives in x86 pthread_cond_{,timed}wait.Ulrich Drepper2-344/+133
2009-09-02Fix timer_create to initialize timer_t properly.Suzuki Poulose1-1/+2
2009-08-28SH lowlevellock broken for FUTEX_CLOCK_REALTIME.Andrew Stubbs1-9/+9
2009-08-23More namespace cleanups.Ulrich Drepper1-4/+6
2009-08-22Rvert accidental checkins.Ulrich Drepper5-545/+0
2009-08-22Add sigstack handling to Linux ____longjmp_chk on powerpc.Andreas Schwab5-0/+545
2009-08-11Add CFI directives to x86-64 pthread_rwlock_unlock.Ulrich Drepper1-2/+3
2009-08-10Add CFI directives to x86-64 pthread_rwlock_{rd,wr)lock.Ulrich Drepper2-2/+6
2009-08-10Fix check for PI mutex in x86-64 pthread_cond_signalAndreas Schwab1-3/+3
Register eax contains the syscall number, use a different one instead.
2009-08-08Optimize x86-64 version of sem_timedwait.Ulrich Drepper1-65/+145
2009-08-08Another minor optimization of x86-64 pthread_cond_wait.Ulrich Drepper1-15/+7
2009-08-07Small optimizations to cancellable x86-64 code.Ulrich Drepper4-61/+40
2009-08-04Optimize x86-64 syscall cancellation handling.Ulrich Drepper4-44/+169
The syscall wrappers had to save and restore the syscall parameter values and return value when calling the functions to enable/disable cancellation were called. Not anymore. The called functions are special and don't modify any unexpected registers.
2009-07-28Fix bookkeeping in mutex when using requeue_pi.Ulrich Drepper5-20/+40
2009-07-23Fix pthread_cond_timedwait error handling on old kernels.Ulrich Drepper1-2/+2
2009-07-20Minor optimizations of last x86-64 condvar changes.Ulrich Drepper2-23/+16
2009-07-19Support requeueing for condvars using PI mutex. x86-64 only.Ulrich Drepper5-36/+168
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 Drepper1-0/+2
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 Drepper1-2/+76
timeout.
2009-07-18Extend x86-64 pthread_rwlock_timedrdlock to use futex syscall with absolute ↵Ulrich Drepper1-18/+55
timeout.
2009-07-18Pretty printing last change.Ulrich Drepper1-6/+6
2009-07-18Extend x86-64 pthread_rwlock_timedwrlock to use futex syscall with absolute ↵Ulrich Drepper1-12/+49
timeout.
2009-07-18Remove leftover cfi.Ulrich Drepper1-4/+1
2009-07-18Extend x86-64 pthread_cond_timedwait to use futex syscall with absolute timeout.Ulrich Drepper1-126/+292
2009-07-18Optimize x86-64 pthread_cond_timedwait.Ulrich Drepper1-144/+188
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 Drepper2-144/+309
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 Drepper1-46/+116
2009-07-17Consistently use symbolic constants.Ulrich Drepper1-4/+3
2009-07-17Replace hand-coded unwind tables from x86-64 sem_timedwait.Ulrich Drepper1-122/+29
2009-07-17Optimize x86-64 sem_wait for uncontested semaphore.Ulrich Drepper1-24/+27
2009-07-17Replace hand-coded unwind tables from x86-64 sem_wait.Ulrich Drepper1-101/+25
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper1-106/+22
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_cond_wait.Ulrich Drepper1-76/+18
2009-06-12Implement pthread_sigqueue.Ulrich Drepper1-0/+83
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 Kadzban1-1/+1
This affects only installations compiled for kernels older than 2.6.18.
2009-04-26* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):Ulrich Drepper1-4/+4
Avoid warning by using may_alias attribute on ptrhack.
2009-03-15[BZ #5807]Ulrich Drepper1-102/+21
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-09* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define Jakub Jelinek1-1/+7
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. 2009-03-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-32/+38
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-02-24* io/sys/stat.h: The lstat functions have been mandatory since 2001.Ulrich Drepper1-4/+4
2009-02-13* sysdeps/unix/sysv/linux/sh/lowlevellock.S: DefineUlrich Drepper1-2/+2
LOAD_FUTEX_WAIT_ABS even if (FUTEX_WAIT == 0).
2009-01-28* sysdeps/unix/sysv/linux/sh/sysdep.h (INTERNAL_SYSCALL):Ulrich Drepper2-3/+106
Add "t" to clobber list. (INTERNAL_SYSCALL_NCS): Likewise.
2009-01-03(__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead ↵Ulrich Drepper1-19/+79
of computing relative timeout.
2009-01-03* sysdeps/unix/sysv/linux/i386/sysdep.h: Describe 6th argumentUlrich Drepper1-2/+2
handling.
2009-01-03* init.c (__pthread_initialize_minimal_internal): Check forUlrich Drepper1-1/+57
FUTEX_CLOCK_REALTIME flag. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead of computing relative timeout.
2009-01-03* sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper5-6/+21
FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2008-12-12* pthread_mutex_lock.c (__pthread_mutex_lock): Handle only theUlrich Drepper1-0/+1
fast path here, for robust/PI/PP mutexes call __pthread_mutex_lock_full. Don't use switch, instead use a series of ifs according to their probability. (__pthread_mutex_lock_full): New function. * pthread_mutex_unlock.c: Include assert.h. (__pthread_mutex_unlock_usercnt): Handle only the fast path here, for robust/PI/PP mutexes call __pthread_mutex_unlock_full. Don't use switch, instead use a series of ifs according to their probability. (__pthread_mutex_unlock_full): New function. * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c (__pthread_mutex_lock_full): Define.