Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-06-15 | New API to set default thread attributes | Siddhesh Poyarekar | 1 | -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. | |||||
2013-06-14 | Avoid access beyond memory bounds in pthread_attr_getaffinity_np | Siddhesh Poyarekar | 1 | -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. | |||||
2013-05-31 | Link extra-libs consistently with libc and ld.so. | Joseph Myers | 1 | -8/+0 | |
2013-03-01 | Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes. | Carlos O'Donell | 1 | -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. | |||||
2013-03-01 | Set default stack size from program environment | Siddhesh Poyarekar | 1 | -1/+4 | |
New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this. | |||||
2013-01-11 | Add --enable-hardcoded-path-in-tests configure option | H.J. Lu | 1 | -6/+6 | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 1 | -1/+1 | |
2012-12-03 | Remove unneeded linking in nptl testsuite | Allan McRae | 1 | -3/+0 | |
2012-11-14 | Adding missing -fexception CFLAGS | Marcus Shawcroft | 1 | -0/+5 | |
2012-10-30 | Fix nptl/tst-cancel7 for non-bash shells. | Aurelien Jarno | 1 | -1/+1 | |
2012-10-25 | Use bash to run nptl/tst-tls6.sh. | Joseph Myers | 1 | -1/+1 | |
2012-10-24 | Support cross-testing. | Joseph Myers | 1 | -1/+1 | |
2012-10-24 | BZ#14743: Move clock_* symbols from librt to libc. | Roland McGrath | 1 | -20/+7 | |
2012-10-24 | Don't set resource limits in tst-oddstacklimit-ENV. | Joseph Myers | 1 | -5/+8 | |
2012-10-24 | Define and use $(run-built-tests). | Joseph Myers | 1 | -3/+3 | |
2012-10-23 | Add and use $(host-built-program-cmd). | Jim Blandy | 1 | -3/+3 | |
2012-10-21 | Use $(NM) not nm in tst-cancel-wrappers. | Jim Blandy | 1 | -1/+2 | |
2012-10-10 | Take lock in pthread_cond_wait cleanup handler only when needed | Siddhesh Poyarekar | 1 | -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. | |||||
2012-10-05 | Add test cases for BZ #14557 | H.J. Lu | 1 | -2/+7 | |
2012-10-05 | Unlock mutex before going back to waiting for PI mutexes | Siddhesh Poyarekar | 1 | -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. | |||||
2012-10-01 | Fix exception table for i386 pthread_cond_wait | Siddhesh Poyarekar | 1 | -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. | |||||
2012-09-25 | Set "fail on error" mode directly in testsuite shell scripts | Dmitry V. Levin | 1 | -2/+2 | |
2012-09-07 | Rename LDFLAGS-XXX to LDLIBS-XXX for -lstdc++ | H.J. Lu | 1 | -1/+1 | |
2012-09-06 | Add tst-cancel21-static.c | H.J. Lu | 1 | -2/+3 | |
2012-08-31 | Fix sem_post race (bug 14532). | Joseph Myers | 1 | -1/+1 | |
2012-08-17 | Clean up definition of _LIBC_REENTRANT and _IO_MTSAFE_IO. | Roland McGrath | 1 | -3/+3 | |
2012-06-20 | Account for the extra stack size when rlimit is small enough | Siddhesh Poyarekar | 1 | -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. | |||||
2012-05-15 | Allow a single-threaded program to cancel itself | Siddhesh Poyarekar | 1 | -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. | |||||
2012-05-02 | Fix test-suite failues with -Wl,--as-needed | Allan McRae | 1 | -1/+2 | |
Signed-off-by: Allan McRae <allan@archlinux.org> | |||||
2012-04-28 | Don't run tests when cross-compiling | Andreas Schwab | 1 | -0/+4 | |
2012-03-07 | Remove distribute variable from Makefiles | Ulrich Drepper | 1 | -2/+0 | |
2012-02-21 | Remove old initfini mechanism. | Joseph Myers | 1 | -48/+1 | |
2012-02-09 | Replace FSF snail mail address with URLs. | Paul Eggert | 1 | -3/+2 | |
2012-02-08 | Add missing dependency for pt-crti.o | Andreas Schwab | 1 | -0/+2 | |
2012-02-08 | Support crti.S and crtn.S provided directly by architectures. | Joseph Myers | 1 | -0/+19 | |
2012-01-08 | Static linking is always needed | Ulrich Drepper | 1 | -2/+1 | |
2012-01-07 | Remove non-ELF support | Ulrich Drepper | 1 | -2/+2 | |
2011-08-20 | Fix typo in tst-cleanup0.out rule. | David S. Miller | 1 | -1/+1 | |
2011-01-16 | Fix missing dependencies and ensure correct CPPFLAGS. | Andreas Schwab | 1 | -1/+1 | |
2010-07-01 | Work around kernel rejecting valid absolute timestamps | Andreas Schwab | 1 | -0/+1 | |
2010-07-01 | Fix build with newer linker. | Ulrich Drepper | 1 | -1/+2 | |
2010-04-09 | Implement interfaces to set and get names of threads. | Ulrich Drepper | 1 | -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. | |||||
2009-11-24 | New NPTL POSIX semaphore test. | Ulrich Drepper | 1 | -1/+1 | |
2009-07-18 | Add more sem_timedwait tests. | Ulrich Drepper | 1 | -0/+2 | |
2009-06-12 | Implement pthread_sigqueue. | Ulrich Drepper | 1 | -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. | |||||
2009-05-16 | libc-cancellation.c cleanup. | Ulrich Drepper | 1 | -3/+3 | |
The unrelated function __libc_cleanup_routine should not be in this file. Move it into its own file. | |||||
2009-05-16 | Rename nptl/init.c to nptl/nptl-init.c. | Ulrich Drepper | 1 | -3/+3 | |
Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924. | |||||
2008-11-12 | [BZ #7009]cvs/fedora-glibc-20081112T2008 | Ulrich Drepper | 1 | -1/+1 | |
2008-05-31 | (tests): Add tst-rwlock2a. | Ulrich Drepper | 1 | -3/+3 | |
2008-02-01 | * Makeconfig (sysd-rules-targets): New variable. | Roland McGrath | 1 | -4/+2 | |
* sysdeps/unix/make-syscalls.sh: Use it in the rules emitted. * sysdeps/unix/Makefile (omit-deps): Append variants for each target. |