about summary refs log tree commit diff
path: root/nptl/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* New API to set default thread attributesSiddhesh Poyarekar2013-06-151-2/+3
| | | | | | | This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
* Avoid access beyond memory bounds in pthread_attr_getaffinity_npSiddhesh Poyarekar2013-06-141-0/+1
| | | | | | | | | Resolves BZ #15618. pthread_attr_getaffinity_np may write beyond bounds of the input cpuset buffer if the size of the input buffer is smaller than the buffer present in the input pthread attributes. Fix is to copy to the extent of the minimum of the source and the destination.
* Link extra-libs consistently with libc and ld.so.Joseph Myers2013-05-311-8/+0
|
* Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes.Carlos O'Donell2013-03-011-4/+1
| | | | | | | 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.
* Set default stack size from program environmentSiddhesh Poyarekar2013-03-011-1/+4
| | | | New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
* Add --enable-hardcoded-path-in-tests configure optionH.J. Lu2013-01-111-6/+6
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-021-1/+1
|
* Remove unneeded linking in nptl testsuiteAllan McRae2012-12-031-3/+0
|
* Adding missing -fexception CFLAGSMarcus Shawcroft2012-11-141-0/+5
|
* Fix nptl/tst-cancel7 for non-bash shells.Aurelien Jarno2012-10-301-1/+1
|
* Use bash to run nptl/tst-tls6.sh.Joseph Myers2012-10-251-1/+1
|
* Support cross-testing.Joseph Myers2012-10-241-1/+1
|
* BZ#14743: Move clock_* symbols from librt to libc.Roland McGrath2012-10-241-20/+7
|
* Don't set resource limits in tst-oddstacklimit-ENV.Joseph Myers2012-10-241-5/+8
|
* Define and use $(run-built-tests).Joseph Myers2012-10-241-3/+3
|
* Add and use $(host-built-program-cmd).Jim Blandy2012-10-231-3/+3
|
* Use $(NM) not nm in tst-cancel-wrappers.Jim Blandy2012-10-211-1/+2
|
* Take lock in pthread_cond_wait cleanup handler only when neededSiddhesh Poyarekar2012-10-101-1/+2
| | | | | | | | | | [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.
* Add test cases for BZ #14557H.J. Lu2012-10-051-2/+7
|
* Unlock mutex before going back to waiting for PI mutexesSiddhesh Poyarekar2012-10-051-1/+3
| | | | | | | | | | [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 exception table for i386 pthread_cond_waitSiddhesh Poyarekar2012-10-011-1/+1
| | | | | | | | [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.
* Set "fail on error" mode directly in testsuite shell scriptsDmitry V. Levin2012-09-251-2/+2
|
* Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++H.J. Lu2012-09-071-1/+1
|
* Add tst-cancel21-static.cH.J. Lu2012-09-061-2/+3
|
* Fix sem_post race (bug 14532).Joseph Myers2012-08-311-1/+1
|
* Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO.Roland McGrath2012-08-171-3/+3
|
* Account for the extra stack size when rlimit is small enoughSiddhesh Poyarekar2012-06-201-1/+1
| | | | | | | | | | | 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.
* Allow a single-threaded program to cancel itselfSiddhesh Poyarekar2012-05-151-0/+2
| | | | | | | | | 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.
* Fix test-suite failues with -Wl,--as-neededAllan McRae2012-05-021-1/+2
| | | | Signed-off-by: Allan McRae <allan@archlinux.org>
* Don't run tests when cross-compilingAndreas Schwab2012-04-281-0/+4
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-2/+0
|
* Remove old initfini mechanism.Joseph Myers2012-02-211-48/+1
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-091-3/+2
|
* Add missing dependency for pt-crti.oAndreas Schwab2012-02-081-0/+2
|
* Support crti.S and crtn.S provided directly by architectures.Joseph Myers2012-02-081-0/+19
|
* Static linking is always neededUlrich Drepper2012-01-081-2/+1
|
* Remove non-ELF supportUlrich Drepper2012-01-071-2/+2
|
* Fix typo in tst-cleanup0.out rule.David S. Miller2011-08-201-1/+1
|
* Fix missing dependencies and ensure correct CPPFLAGS.Andreas Schwab2011-01-161-1/+1
|
* Work around kernel rejecting valid absolute timestampsAndreas Schwab2010-07-011-0/+1
|
* Fix build with newer linker.Ulrich Drepper2010-07-011-1/+2
|
* Implement interfaces to set and get names of threads.Ulrich Drepper2010-04-091-2/+4
| | | | | | | | 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.
* New NPTL POSIX semaphore test.Ulrich Drepper2009-11-241-1/+1
|
* Add more sem_timedwait tests.Ulrich Drepper2009-07-181-0/+2
|
* Implement pthread_sigqueue.Ulrich Drepper2009-06-121-1/+1
| | | | | | 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.
* libc-cancellation.c cleanup.Ulrich Drepper2009-05-161-3/+3
| | | | | The unrelated function __libc_cleanup_routine should not be in this file. Move it into its own file.
* Rename nptl/init.c to nptl/nptl-init.c.Ulrich Drepper2009-05-161-3/+3
| | | | | Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924.
* [BZ #7009] cvs/fedora-glibc-20081112T2008Ulrich Drepper2008-11-121-1/+1
|
* (tests): Add tst-rwlock2a.Ulrich Drepper2008-05-311-3/+3
|
* * Makeconfig (sysd-rules-targets): New variable.Roland McGrath2008-02-011-4/+2
| | | | | * sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target.