about summary refs log tree commit diff
path: root/nptl/sysdeps/unix/sysv/linux/i386
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Extend i486 pthread_cond_timedwait to use futex syscall with ↵Andreas Schwab2013-01-101-315/+66
| | | | | | absolute timeout" This reverts commit 1bd57044e963abb886cb912beadea714815a3d5c.
* Extend i486 pthread_cond_timedwait to use futex syscall with absolute timeoutAndreas Schwab2013-01-101-66/+315
| | | | | | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S (__pthread_cond_timedwait): If possible use FUTEX_WAIT_BITSET to directly use absolute timeout.
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0260-61/+60
|
* Adjust mutex lock in condvar_cleanup if we got it from requeue_piSiddhesh Poyarekar2012-10-162-2/+8
| | | | This completes the fix to bz #14652.
* Take lock in pthread_cond_wait cleanup handler only when neededSiddhesh Poyarekar2012-10-102-4/+32
| | | | | | | | | | [BZ #14652] When a thread waiting in pthread_cond_wait with a PI mutex is cancelled after it has returned successfully from the futex syscall but just before async cancellation is disabled, it enters its cancellation handler with the mutex held and simply calling a mutex_lock again will result in a deadlock. Hence, it is necessary to see if the thread owns the lock and try to lock it only if it doesn't.
* Unlock mutex before going back to waiting for PI mutexesSiddhesh Poyarekar2012-10-052-87/+68
| | | | | | | | | | [BZ #14417] A futex call with FUTEX_WAIT_REQUEUE_PI returns with the mutex locked on success. If such a successful thread is pipped to the cond_lock by another spuriously woken waiter, it could be sent back to wait on the futex with the mutex lock held, thus causing a deadlock. So it is necessary that the thread relinquishes the mutex before going back to sleep.
* Fix clone flag name in comment to CLONE_CHILD_CLEARTID.Siddhesh Poyarekar2012-10-021-1/+1
|
* Fix exception table for i386 pthread_cond_waitSiddhesh Poyarekar2012-10-012-2/+22
| | | | | | | | [BZ #14477] Add an additional entry in the exception table to jump to __condvar_w_cleanup2 instead of __condvar_w_cleanup for PI mutexes when %ebx contains the address of the futex instead of the condition variable.
* Remove __ASSUME_POSIX_TIMERS.Joseph Myers2012-08-161-28/+0
|
* Remove unused pseudo_end labelAndreas Schwab2012-07-252-5/+3
|
* Use x86-64 bits/pthreadtypes.h/semaphore.h for i386/x86-64H.J. Lu2012-05-303-211/+1
|
* Remove use of INTDEF/INTUSE in nptlAndreas Schwab2012-05-304-22/+10
|
* i386 port of the pthread SystemTap probesRayson Ho2012-05-258-12/+33
|
* Fix warnings on Linux/i686Andreas Jaeger2012-05-171-4/+2
| | | | | | Fixes: ../sysdeps/i386/dl-machine.h:336:30: warning: unused variable ‘refsym’ [-Wunused-variable] rtld.c:1435:3: warning: implicit declaration of function ‘_dl_discover_osversion’ [-Wimplicit-function-declaration]
* Fix 9554ebf2d4da22591e974d3cf2ed09a2b8dbdbd8.Thomas Schwinge2012-03-081-3/+6
| | | | | | | Invalid timeouts in i386 sem_timedwait. | | We adjusted nwaiters even though this isn't necessary.
* Fix stray references to __pthread_attrDavid S. Miller2012-02-271-1/+1
| | | | | | | | | | * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h: Don't refer to non-existing __pthread_attr. * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* Fix name mangling of pthread_attr_t after changeUlrich Drepper2012-02-261-1/+1
|
* Work around problem of pthread_attr_t definition with old compilersUlrich Drepper2012-02-261-2/+6
|
* Fix up POSIX testing in conformtestUlrich Drepper2012-02-261-2/+2
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0962-186/+124
|
* Support crti.S and crtn.S provided directly by architectures.Joseph Myers2012-02-081-3/+0
|
* Consistently use macros for x86 PIC thunks.Joseph Myers2012-02-036-61/+15
|
* Handle EAGAIN from FUTEX_WAIT_REQUEUE_PIAndreas Schwab2011-11-301-0/+80
|
* Remove support for !USE___THREADUlrich Drepper2011-09-104-50/+20
|
* Fix x86 pthread_cond_signal() FUTEX_WAKE_OP fallbackDinakar Guniguntala2010-08-191-2/+1
|
* Add -fno-asynchronous-unwind-tables to initfini.s for i386H.J. Lu2010-08-151-0/+3
|
* Work around kernel rejecting valid absolute timestampsAndreas Schwab2010-07-011-1/+7
|
* Fix pthread_cond_*wait with requeue-PI on i386.Michal Schmidt2010-01-152-11/+11
|
* More whitespace fixes.Ulrich Drepper2009-12-131-2/+2
|
* Fix whitespaces.Ulrich Drepper2009-12-132-6/+6
|
* Add Requeue-PI support for x86 arch.Dinakar Guniguntala2009-12-135-28/+187
|
* Invalid timeouts in i386 sem_timedwait.Ulrich Drepper2009-12-121-9/+9
| | | | We adjusted nwaiters even though this isn't necessary.
* Use #include instead of duplication for i386 vs i686 dl-sysdep.h in NPTL.Roland McGrath2009-11-221-50/+5
|
* Minor optimizations and cleanups of x86 cond_broadcast.Ulrich Drepper2009-11-182-11/+10
|
* Update cfi offsets for pthread_cond_broadcast and signal fir x86.Dinakar Guniguntala2009-11-182-38/+16
|
* Use cfi directives in x86 pthread_cond_{,timed}wait.Ulrich Drepper2009-11-172-344/+133
|
* Fix futex syscall parameter for x86 absolute timeout waits.Bryan Kadzban2009-06-111-1/+1
| | | | This affects only installations compiled for kernels older than 2.6.18.
* (__lll_timedlock_wait): Use FUTEX_WAIT_BITSET|FUTEX_CLOCK_READTIME instead ↵Ulrich Drepper2009-01-031-19/+79
| | | | of computing relative timeout.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: DefineUlrich Drepper2009-01-031-1/+4
| | | | | | | | 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.
* * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): RecognizeUlrich Drepper2008-12-031-2/+4
| | | | | | | | | ESRCH return value. (_nss_dns_gethostbyname4_r): Likewise. * resolv/res_init.c (__res_vinit): Initialize nscount to zero. * sysdeps/posix/getaddrinfo.c (gaih_inet): In case we use gethostbyname4_r, we don't have a separate IPv6 status, so copy the no_data variable.
* * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock, Andreas Jaeger2008-09-231-9/+10
| | | | | | | | | | | | lll_robust_lock, lll_cond_lock, lll_robust_cond_lock, lll_timedlock, lll_robust_timedlock, lll_unlock, lll_robust_unlock): Promote private to int. 2008-09-08 Richard Guenther <rguenther@suse.de> * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock, lll_robust_lock, lll_cond_lock, lll_robust_cond_lock, lll_timedlock, lll_robust_timedlock, lll_unlock, lll_robust_unlock): Promote private to int.
* Remove useless more "if" tests before "free".Ulrich Drepper2008-05-279-2/+183
| | | | | | | | | * include/inline-hashtab.h (htab_delete): Likewise. * libio/freopen.c (freopen): Likewise. * libio/freopen64.c (freopen64): Likewise. * locale/programs/ld-collate.c (collate_read): Likewise. * misc/fstab.c (libc_freeres_fn): Likewise. * posix/glob.c (globfree): Likewise.
* * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: AccessUlrich Drepper2008-05-115-19/+19
| | | | | | | | | | | | | __pshared correctly. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. Reported by Clemens Kolbitsch <clemens.kol@gmx.at>.
* * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead Jakub Jelinek2008-03-172-2/+2
| | | | | | | | | | | | of ASSEMBLER. nptl/ * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Likewise. 2008-03-18 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/dl-sysdep.h: Use __ASSEMBLER__ instead of ASSEMBLER.
* Fix typo. cvs/fedora-glibc-20080314T2159Ulrich Drepper2008-03-141-1/+1
|
* * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: DefineUlrich Drepper2008-03-142-2/+20
| | | | | | HAVE_DL_DISCOVER_OSVERSION. * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Likewise. * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: Likewise.
* * pthread-errnos.sym: Add EOVERFLOW.Ulrich Drepper2008-01-101-3/+38
| | | | | | | * sysdeps/unix/sysv/linux/structsem.sym: Add SEM_VALUE_MAX. * sysdeps/unix/sysv/linux/sem_post.c: Don't overflow value field. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise.
* * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S (__lll_timedlock_wait):Ulrich Drepper2007-11-241-39/+17
| | | | | | | | Store 2 before returning ETIMEDOUT. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise * sysdeps/unix/sysv/linux/lowlevellock.c: Likewise. (__lll_lock_wait_private): Optimize. (__lll_lock_wait): Likewise.
* [BZ #5240]Ulrich Drepper2007-11-091-1/+5
| | | | | | | | * sysdeps/unix/sysv/linux/lowlevellock.c (__lll_timedlock_wait): If we time out, try one last time to lock the futex to avoid losing a wakeup signal. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
* * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New Jakub Jelinek2007-10-171-1/+20
| | | | | | | | routine instead of an alias to __new_sem_post. 2007-10-17 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__old_sem_post): New routine instead of an alias to __new_sem_post.