aboutsummaryrefslogtreecommitdiff
path: root/nptl/Makefile
AgeCommit message (Collapse)Author
2013-03-01Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes.Carlos O'Donell
This reverts the change that allows the POSIX Thread default stack size to be changed by the environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE. It has been requested that more discussion happen before this change goes into 2.18.
2013-03-01Set default stack size from program environmentSiddhesh Poyarekar
New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
2013-01-11Add --enable-hardcoded-path-in-tests configure optionH.J. Lu
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-12-03Remove unneeded linking in nptl testsuiteAllan McRae
2012-11-14Adding missing -fexception CFLAGSMarcus Shawcroft
2012-10-30Fix nptl/tst-cancel7 for non-bash shells.Aurelien Jarno
2012-10-25Use bash to run nptl/tst-tls6.sh.Joseph Myers
2012-10-24Support cross-testing.Joseph Myers
2012-10-24BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath
2012-10-24Don't set resource limits in tst-oddstacklimit-ENV.Joseph Myers
2012-10-24Define and use $(run-built-tests).Joseph Myers
2012-10-23Add and use $(host-built-program-cmd).Jim Blandy
2012-10-21Use $(NM) not nm in tst-cancel-wrappers.Jim Blandy
2012-10-10Take lock in pthread_cond_wait cleanup handler only when neededSiddhesh Poyarekar
[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.
2012-10-05Add test cases for BZ #14557H.J. Lu
2012-10-05Unlock mutex before going back to waiting for PI mutexesSiddhesh Poyarekar
[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.
2012-10-01Fix exception table for i386 pthread_cond_waitSiddhesh Poyarekar
[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.
2012-09-25Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin
2012-09-07Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++H.J. Lu
2012-09-06Add tst-cancel21-static.cH.J. Lu
2012-08-31Fix sem_post race (bug 14532).Joseph Myers
2012-08-17Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath
2012-06-20Account for the extra stack size when rlimit is small enoughSiddhesh Poyarekar
When rlimit is small enough to be used as the stacksize to be returned in pthread_getattr_np, cases where a stack is made executable due to a DSO load get stack size that is larger than what the kernel allows. This is because in such a case the stack size does not account for the pages that have auxv and program arguments. Additionally, the stacksize for the process derived from this should be truncated to align to page size to avoid going beyond rlimit.
2012-05-15Allow a single-threaded program to cancel itselfSiddhesh Poyarekar
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.
2012-05-02Fix test-suite failues with -Wl,--as-neededAllan McRae
Signed-off-by: Allan McRae <allan@archlinux.org>
2012-04-28Don't run tests when cross-compilingAndreas Schwab
2012-03-07Remove distribute variable from MakefilesUlrich Drepper
2012-02-21Remove old initfini mechanism.Joseph Myers
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert
2012-02-08Add missing dependency for pt-crti.oAndreas Schwab
2012-02-08Support crti.S and crtn.S provided directly by architectures.Joseph Myers
2012-01-08Static linking is always neededUlrich Drepper
2012-01-07Remove non-ELF supportUlrich Drepper
2011-08-20Fix typo in tst-cleanup0.out rule.David S. Miller
2011-01-16Fix missing dependencies and ensure correct CPPFLAGS.Andreas Schwab
2010-07-01Work around kernel rejecting valid absolute timestampsAndreas Schwab
2010-07-01Fix build with newer linker.Ulrich Drepper
2010-04-09Implement interfaces to set and get names of threads.Ulrich Drepper
At least the Linux kernel provides field where the kernel originally stores the command which is executed by the thread. The value can subsequently be overwritten. The added functions allow to do that for threads, providing and abstraction around the syscalls or /proc file system accesses needed.
2009-11-24New NPTL POSIX semaphore test.Ulrich Drepper
2009-07-18Add more sem_timedwait tests.Ulrich Drepper
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-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-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.
2008-11-12[BZ #7009]cvs/fedora-glibc-20081112T2008Ulrich Drepper
2008-05-31(tests): Add tst-rwlock2a.Ulrich Drepper
2008-02-01* Makeconfig (sysd-rules-targets): New variable.Roland McGrath
* sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target.
2007-11-08* sysdeps/x86_64/memset.S: Add sfence after movnti.Ulrich Drepper
2007-08-21[BZ #4938]Ulrich Drepper
2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4938] * allocatestack.c (__reclaim_stacks): Clear the TSD in the reclaimed stack if necessary. * Makefile (tests): Add tst-tsd6. * tst-tsd6.c: New file.
2007-05-26 * semaphoreP.h: Declare __old_sem_init and __old_sem_wait.Ulrich Drepper
* sem_init.c (__new_sem_init): Rewrite to initialize all three fields in the structure. (__old_sem_init): New function. * sem_open.c: Initialize all fields of the structure. * sem_getvalue.c: Adjust for renamed element. * sysdeps/unix/sysv/linux/Makefile [subdir=nptl] (gen-as-const-headers): Add structsem.sym. * sysdeps/unix/sysv/linux/structsem.sym: New file. * sysdeps/unix/sysv/linux/internaltypes.h: Rename struct sem to struct new_sem. Add struct old_sem. * sysdeps/unix/sysv/linux/sem_post.c: Wake only when there are waiters. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/sem_wait.c: Indicate that there are waiters. * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Likewise. * sysdeps/unix/sysv/linux/sem_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Likewise. * Makefile (tests): Add tst-sem10, tst-sem11, tst-sem12. * tst-sem10.c: New file. * tst-sem11.c: New file. * tst-sem12.c: New file. * tst-typesizes.c: Test struct new_sem and struct old_sem instead of struct sem. 2007-05-25 Ulrich Drepper <drepper@redhat.com>