about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Allow a single-threaded program to cancel itselfSiddhesh Poyarekar2012-05-1512-2/+290
| | | | | | | | | There is nothing in the POSIX specification to disallow a single-threaded program from cancelling itself, so we forcibly enable multiple_threads to allow the next available cancellation point in the thread to run. Also added additional tests to cover various cancellation scenarios.
* Add x32 support to tcbhead_tH.J. Lu2012-05-142-6/+7
|
* Add __PTHREAD_RWLOCK_INT_FLAGS_SHAREDH.J. Lu2012-05-142-1/+17
|
* Add sysdeps/x86_64/{64,x32}/shlib-versionsH.J. Lu2012-05-144-1/+12
|
* Add x32 pthread typesH.J. Lu2012-05-142-14/+37
|
* Update comments for CALL_THREAD_FCTH.J. Lu2012-05-111-5/+5
|
* Add sysdeps/x86_64/x32/tls.hH.J. Lu2012-05-112-0/+50
|
* Fix a typo in ChangeLo.H.J. Lu2012-05-111-1/+1
|
* Use uint64_t on 64-bit integerH.J. Lu2012-05-112-2/+8
|
* Replace movq/%q0 with mov/%0 in THREAD_SELFH.J. Lu2012-05-112-1/+6
|
* Check __x86_64__ for __cleanup_fct_attributeH.J. Lu2012-05-112-1/+7
|
* Check __PTHREAD_MUTEX_HAVE_PREV for mutex initializersH.J. Lu2012-05-112-1/+9
|
* Check __PTHREAD_MUTEX_HAVE_PREV for mutex prevH.J. Lu2012-05-112-1/+6
|
* Hurd: libc_once_getThomas Schwinge2012-05-102-0/+7
|
* Use CFI statements instead of hand-coding .eh_frame.Chung-Lin Tang2012-05-095-422/+112
|
* Fix minor fallout from yesterdays sparc nptl changes.David S. Miller2012-05-035-4/+15
| | | | | | | | | | | | nptl/ * sysdeps/sparc/sparc64/pthread_spin_unlock.S: Fix thinko, we always have to return 0, especially for the pthread_spin_init alias. * sysdeps/sparc/sparc32/pthread_spin_lock.S: Add missing trailing newline. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise. * sysdeps/sparc/sparc64/pthread_spin_lock.S: Likewise.
* Mirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'David S. Miller2012-05-0215-139/+104
| | | | | | | | | | | | | | | | | | | | | | | nptl/ * sysdeps/sparc/sparc64/pthread_spin_lock.S: New. * sysdeps/sparc/sparc64/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc64/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc64/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc64/pthread_spin_init.c: New. * sysdeps/sparc/sparc32/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: New. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.c: Delete. * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: New.
* Fix test-suite failues with -Wl,--as-neededAllan McRae2012-05-022-1/+7
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* Kill trailing whitespace.Paul Pluzhnikov2012-05-021-1/+1
|
* Avoid "anonymous" code in pthread_spin_lock.Paul Pluzhnikov2012-05-024-33/+64
|
* Don't run tests when cross-compilingAndreas Schwab2012-04-282-0/+9
|
* move libgcc_s soname definition to shlib-versionsSiddhesh Poyarekar2012-04-262-2/+7
|
* Delete unused TLS_GET_FS, TLS_SET_FS macros.Paul Pluzhnikov2012-04-202-8/+5
|
* Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.David S. Miller2012-03-273-4/+22
| | | | | | * tst-cond16.c (do_test): Use a thread stack size which is either PTHREAD_STACK_MIN or the page size, whichever is larger. * tst-cond18.c (do_test): Likewise.
* Use __asm__("rsp") to get CURRENT_STACK_FRAMEH.J. Lu2012-03-192-1/+6
|
* Use __NR_futex to define SYS_futexH.J. Lu2012-03-192-1/+6
|
* Cast _Unwind_GetCFA return to _Unwind_Ptr firstH.J. Lu2012-03-192-1/+6
|
* Fix libc-lowlevellock.c sysdep finding more generically.David S. Miller2012-03-163-2/+9
| | | | | | | | | | nptl/ [BZ #13844] * sysdeps/unix/sysv/linux/libc-lowlevellock.c: Include using <..> instead of "...". * sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: Delete, not needed.
* Add missing sparc32 NPTL file otherwise we use the wrong lowlevellock.c ↵David S. Miller2012-03-152-0/+6
| | | | | | | | | implementation. nptl/ [BZ #13844] * sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: New file.
* Replace FSF snail mail address with URL in miscellaneous files.Paul Eggert2012-03-102-3/+7
|
* Make pthread.h define all symbols from time.h.Joseph Myers2012-03-092-4/+5
| | | | | | | | See: http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302 (Geoff Clare, austin-group-l, 9 Mar 2012)
* Update copyright year after my most recent changes.David S. Miller2012-03-082-1/+5
| | | | | | | | | | | | nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year. / * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update copyright year. * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
* Work around kernel rejecting valid absolute timestamps.Thomas Schwinge2012-03-082-2/+11
|
* Invalid timeouts in SH sem_timedwait.Thomas Schwinge2012-03-082-4/+8
| | | | We adjusted nwaiters even though this isn't necessary.
* Fix 9554ebf2d4da22591e974d3cf2ed09a2b8dbdbd8.Thomas Schwinge2012-03-083-5/+33
| | | | | | | Invalid timeouts in i386 sem_timedwait. | | We adjusted nwaiters even though this isn't necessary.
* Weaken two NPTL configure link tests to compile tests.Joseph Myers2012-03-073-29/+28
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-072-2/+4
|
* Get rid of superfluous assignments in sem_timedwaitThomas Schwinge2012-03-074-6/+12
|
* Fix CLUlrich Drepper2012-03-071-2/+2
|
* Better CLUlrich Drepper2012-03-061-2/+2
|
* Remove private information from libc-lock.hUlrich Drepper2012-03-063-400/+448
|
* Fix several build warnings on sparc.David S. Miller2012-03-062-4/+11
| | | | | | | | | | | | | | | | | | | / * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (set_obp_int): New function. (get_obp_int): New function. (__get_clockfreq_via_dev_openprom): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Avoid unused variable warnings on 'val' and use builtin_expect. (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with builtin_expect. (INLINE_CLONE_SYSCALL): Likewise. nptl/ * sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use atomic_increment and remove unused local variable. (__old_sem_post): Likewise.
* Fix stray references to __pthread_attrDavid S. Miller2012-02-277-6/+16
| | | | | | | | | | * 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-266-6/+6
|
* Add first fixes for conformtest for POSIX2008Ulrich Drepper2012-02-262-0/+5
|
* Work around problem of pthread_attr_t definition with old compilersUlrich Drepper2012-02-266-12/+36
|
* Fix up POSIX testing in conformtestUlrich Drepper2012-02-268-19/+26
|
* Remove old initfini mechanism.Joseph Myers2012-02-213-172/+19
|
* s390: Convert to crt[in].S.Richard Henderson2012-02-163-274/+5
|
* Add SH target specific crti.S and crtn.S and remove initfini files.Kaz Kojima2012-02-162-125/+4
| | | | | Add sysdeps/sh/crti.S, sysdeps/sh/crtn.S and remove sysdeps/sh/elf/initfini.c and nptl/sysdeps/unix/sysv/linux/sh/pt-initfini.c.