about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* (lll_trylock): Initialize %eax to zero.Ulrich Drepper2003-03-101-1/+1
|
* Remove declaration of __libc_locking_needed.Ulrich Drepper2003-03-101-3/+0
|
* (lll_trylock): Initialize %eax to zero.Ulrich Drepper2003-03-101-1/+1
|
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-1010-63/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | * allocatestack.c (allocate_stack) [!TLS_MULTIPLE_THREADS_IN_TCB]: Instead of setting PD->multiple_threads, set globals __pthread_multiple_threads and __libc_multiple_threads. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Define it. * sysdeps/s390/tls.h (TLS_MULTIPLE_THREADS_IN_TCB): Likewise. * descr.h (struct pthread): Conditionalize first member on [!TLS_DTV_AT_TP]. Replace the `header' member with an anonymous union containing an anonymous tcbhead_t. Move `list' member out. [TLS_MULTIPLE_THREADS_IN_TCB]: Define a `multiple_threads' member. * allocatestack.c: Remove use of `header.data.' prefix. * pthread_create.c: Likewise. * init.c (__pthread_initialize_minimal_internal): Likewise. * sysdeps/pthread/createthread.c (create_thread): Likewise. * sysdeps/i386/tls.h (INSTALL_DTV): Add parens. (THREAD_SELF, THREAD_DTV, INSTALL_NEW_DTV): No `header.data.' prefix. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (SINGLE_THREAD_P): Likewise. * sysdeps/i386/tls.h (tcbhead_t): Remove `list' member. * sysdeps/s390/tls.h (tcbhead_t): Likewise.
* 2003-03-10 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-105-70/+12
| | | | | | | | * sysdeps/unix/sysv/linux/lowlevelcond.sym: New file. * sysdeps/unix/sysv/linux/Makefile (gen-as-const-headers): Add it. * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: File removed. * sysdeps/unix/sysv/linux/i386/lowlevelcond.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/lowlevelcond.h: Likewise.
* Definitions for condvar implementation on Linux/x86-64.Ulrich Drepper2003-03-102-4/+28
|
* Update.Ulrich Drepper2003-03-102-0/+117
| | | | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-03-105-64/+63
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Fix many leftovers from the ia32 code. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove unneccessary memory load. (clear_once_control): Don't load %esi. * sysdeps/x86_64/tls.h: Remove all traces of segment descriptor handling. * sysdeps/unix/sysv/linux/x86_64/fork.c: New file.
* Update.Ulrich Drepper2003-03-102-0/+3
| | | | | * sysdeps/unix/sysv/linux/s390/createthread.c: Moved to... * sysdeps/unix/sysv/linux/createthread.c: ...here.
* Update.Ulrich Drepper2003-03-093-1/+159
| | | | * po/da.po: Likewise.
* Update.Ulrich Drepper2003-03-0823-85/+116
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call. * tst-signal3.c (do_test): Likewise. * tst-sem5.c (do_test): Likewise. * tst-kill6.c (do_test): Likewise. * tst-tls3.c (do_test): Likewise. Include <errno.h>. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead of inc/dec. * sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise. * sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* Update.Ulrich Drepper2003-03-082-3/+11
| | | | | | | 2003-03-08 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (allocate_stack): If mprotect() fails free the TLS memory.
* Update.Ulrich Drepper2003-03-076-71/+13
| | | | | | | | | | | | * sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions. * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of lll_wake_tid. This was used only to work around kernel limits in the early days. * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
* Fix a few unused definitions.Ulrich Drepper2003-03-071-20/+27
|
* Update.Ulrich Drepper2003-03-073-7/+16
| | | | | | | | | | | | 2003-03-07 Ulrich Drepper <drepper@redhat.com> * init.c (__static_tls_align_m1): Renamed from __static_tls_align. (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately. * pthreadP.h (__static_tls_align_m1): Renamed from __static_tls_align. * allocatestack.c (allocate_stack): Use __static_tls_align_m1 instead of __static_tls_align-1.
* (__static_tls_align_m1): Renamed from __static_tls_align. ↵Ulrich Drepper2003-03-071-5/+8
| | | | (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.
* Update.Ulrich Drepper2003-03-075-68/+0
|
* Update.Ulrich Drepper2003-03-044-0/+69
| | | | | | 2003-03-04 Jakub Jelinek <jakub@redhat.com> * sysdeps/ia64/fpu/libm-test-ulps: Regenerated.
* Update.Ulrich Drepper2003-03-043-2/+15
| | | | | | | * pthread_attr_setstack.c: Moved to... * sysdeps/pthread/pthread_attr_setstack.c: ...here. New file. * pthread_attr_setstackaddr.c: Moved to... * sysdeps/pthread/pthread_attr_setstackaddr.c: ...here. New file.
* Update.Ulrich Drepper2003-03-043-3/+17
| | | | | | | | | | | * pthread_create.c: Define __pthread_keys using nocommon attribute, not by placing it explicitly in bss. Remove DEFINE_DEALLOC definition. Not needed anymore. * allocatestack.c: Define ARCH_MAP_FLAGS if not already defined. Use it in mmap call to allocate stacks. * sysdeps/pthread/createthread.c (create_thread): Fix comment.
* Update.Ulrich Drepper2003-03-041-1/+2
| | | | * misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.
* Update.Ulrich Drepper2003-03-042-1/+6
| | | | * sysdeps/generic/dl-sysdep.h: Add double include protection.
* Update.Ulrich Drepper2003-03-042-37/+3
| | | | | * sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed. The generic version is just fine.
* Update.Ulrich Drepper2003-03-042-3/+1
| | | | * po/tr.po: Update from translation team.
* Update.Ulrich Drepper2003-03-041-0/+2
| | | | * po/tr.po: Update from translation team.
* Update.Ulrich Drepper2003-03-033-5/+19
| | | | | | | 2003-03-03 Ulrich Drepper <drepper@redhat.com> * include/sched.h (__clone2): Use ... instead of adding all the new parameters.
* (pthread_rwlock_timedwrlock): Fix clobber of result variable by ↵Ulrich Drepper2003-03-031-3/+5
| | | | lll_futex_timed_wait call.
* Update.Ulrich Drepper2003-03-038-23/+103
| | | | | | | | | | | | | | | | | | | | | | | | 2003-03-03 Martin Schwidefsky <schwidefsky@de.ibm.com> * atomic.h (atomic_exchange_and_add): Return newval, not oldval. * sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait): Fix handling of cancellation and failing pthread_mutex_unlock call. * sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise. (__pthread_cond_wait): Likewise. * sysdeps/pthread/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock): Fix clobber of result variable by lll_futex_timed_wait call. * sysdeps/pthread/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Likewise. * sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock): Don't define lll_unlock_wake_cb and ___lll_timedwait_tid in libc.so. * sysdeps/unix/sysv/linux/s390/lowlevellock.c: Remove XXX comments. * sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Fix check of lll_futex_wake return value.
* * sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.Roland McGrath2003-03-033-3/+11
| | | | * sysdeps/ia64/dl-machine.h: Update decl.
* 2003-03-03 Roland McGrath <roland@redhat.com>Roland McGrath2003-03-031-1/+1
| | | | * forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.
* Update.Ulrich Drepper2003-03-031-0/+3
| | | | * elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
* (timer_create): Return correct error for CPU clocks.Ulrich Drepper2003-03-031-4/+12
|
* Update.Ulrich Drepper2003-03-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC. * sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETRES to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_getres.c: New file * sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETTIME to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_gettime.c: New file. * sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only if not already defined. Use SYSDEP_GETTIME to allow other files to provide alternative implementations. * sysdeps/unix/sysv/linux/clock_settime.c: New file. * sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow other files to provide alternative implementations. Rearrange tests for invalid parameters. * sysdeps/unix/sysv/linux/clock_nanosleep.c: New file. * sysdeps/unix/sysv/linux/sysconf.c: New file. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_POSIX_TIMERS for Linux 2.4.63 and up. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Define _POSIX_MONOTONIC_CLOCK.
* Update.Ulrich Drepper2003-03-032-0/+6
| | | | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* Update.Ulrich Drepper2003-03-031-0/+5
| | | | | | | 2003-03-02 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset recent kernels.
* (tf_sleep): Lower sleep time a bit to not upset recent kernels.Ulrich Drepper2003-03-031-1/+1
|
* Typo in comment.Ulrich Drepper2003-03-021-1/+1
|
* Update.Ulrich Drepper2003-03-022-2/+7
| | | | | | 2003-03-01 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cleanup field to the front.
* Update.Ulrich Drepper2003-03-023-8/+9
| | | | | | | * sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline __pthread_cleanup_pop functionality. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* Add CLEANUP and CLEANUP_PREV.Ulrich Drepper2003-03-021-2/+4
|
* * configure.in: In "running configure fragment for" message,Roland McGrath2003-03-012-2/+6
| | | | | omit $srcdir from the name if we prepended it. * configure: Regenerated.
* Update.Ulrich Drepper2003-03-0111-201/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-01 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move tid field to the front now that it is often used. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S (__lll_mutex_timedlock_wait): Remove. (__lll_mutex_unlock_wake): Don't save, load, and restore %esi. * sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S (__lll_mutex_unlock_wake): Don't save, load, and restore %esi. * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S (lll_unlock_wake_cb): Don't save and restore %esi. (__lll_unlock_wake): Add alignment. Don't save, load, and restore %esi. (__lll_timedwait_tid): Add alignment. * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S (__lll_unlock_wake): Add alignment. Don't save, load, and restore %esi. (__lll_timedwait_tid): Removed. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S (__pthread_cond_broadcast): Don't save, load, and restore %esi. * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S (pthread_barrier_wait): Don't save, load, and restore %esi for last thread. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S (__pthread_cond_signal): Don't save, load, and restore %esi. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S (__pthread_rwlock_unlock): Don't save, load, and restore %esi. * sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post): Don't save, load, and restore %esi.
* Update.Ulrich Drepper2003-02-282-2/+4
|
* Update.Ulrich Drepper2003-02-273-6/+22
| | | | | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Release lock before waking up the waiters.
* Update.Ulrich Drepper2003-02-271-0/+2
| | | | | | | 2003-02-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to code generation changes in recent gcc.
* (do_test): Don't start more than one thread in parallel.Ulrich Drepper2003-02-271-10/+8
|
* Update.Ulrich Drepper2003-02-272-0/+13
| | | | | * tst-rwlock9.c (writer_thread): Correct adding TIMEOUT. (reader_thread): Likewise.
* Update.Ulrich Drepper2003-02-274-9/+51
| | | | | | | 2003-02-24 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix unwind info.
* Update.Ulrich Drepper2003-02-271-0/+7
| | | | Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
* Update.Ulrich Drepper2003-02-275-3/+54
| | | | | | | | | | | | 2003-02-27 Ulrich Drepper <drepper@redhat.com> * sunrpc/svc_udp.c (svcudp_recv): Remove all control messages except the PKTINFO. Reset interface in PKTINFO. * elf/elf.h: Add new R_PPC64_* relocs for TLS. * elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define. * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):