about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-04-135-2/+167
| | | | | | * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Add unwind info. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* Update.Ulrich Drepper2003-04-134-3/+241
| | | | | | | | | | | 2003-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Add unwind info. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * Makefile: Make sure all cancellation points are compiled with exception and asynchronous unwind tables.
* Update.Ulrich Drepper2003-04-124-9/+24
| | | | | | | | 2003-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h (THREAD_SETMEM): Word around compiler bug which mishandles loading of global object addresses in PIC. (THREAD_SETMEM_NC): Likewise.
* Update.Ulrich Drepper2003-04-125-33/+132
| | | | * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
* Update.Ulrich Drepper2003-04-1212-40/+596
| | | | | | | | | | | | | | | | | 2003-04-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. Remove HAVE_CANCELBUF code. Replace with code using the new initializers for unwind-based cleanup handling. * sysdeps/generic/unwind.h: Update from latest gcc version. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few places to allow unwind data generation. * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. * sysdeps/x86_64/bits/setjmp.h: Likewise. * sysdeps/sh/bits/setjmp.h: Likewise. * sysdeps/powerpc/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/alpha/bits/setjmp.h: Likewise.
* (deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid ↵Ulrich Drepper2003-04-121-22/+43
| | | | | | often unecessary local variable. (start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
* * csu/tst-empty.c: New file.Roland McGrath2003-04-121-0/+8
| | | | * csu/Makefile (tests, tests-static): Add it.
* Declare __pthread_unwind. Define __do_cancel to use it. Declare old ↵Ulrich Drepper2003-04-129-87/+282
| | | | cleanup handler installation functions.
* Test cleanup handler calls in initial thread.Ulrich Drepper2003-04-121-0/+65
|
* 2003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-121-1/+21
| | | | | | | | * Makefile ($(objpfx)multidir.mk): New target, generated makefile that sets variable `multidir'; include that. (generated): Add it. ($(objpfx)$(multidir)/crti.o): New target. [$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
* Update.Ulrich Drepper2003-04-111-0/+5
| | | | | | | 2003-04-11 Ulrich Drepper <drepper@redhat.com> * tst-attr2.c (do_test): Add cast to avoid warning. * tst-mutex4.c (do_test): Likewise.
* (do_test): Add cast to avoid warning.Ulrich Drepper2003-04-112-2/+2
|
* Update.Ulrich Drepper2003-04-102-2/+19
| | | | | | | 2003-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks in child.
* Update.Ulrich Drepper2003-04-092-0/+6
| | | | | | | 2003-04-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-detach1. * tst-detach1.c: New file.
* Update.Ulrich Drepper2003-04-082-45/+3
| | | | | * sysdeps/pthread/pthread.h: Remove duplicate pthread_cleanup_{push,pop} definitions.
* Update.Ulrich Drepper2003-04-0812-11/+26
| | | | | | | | | | | | | | | | 2003-04-08 Ulrich Drepper <drepper@redhat.com> * tst-barrier2.c: Eliminate warnings. * tst-cancel4.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-detach1.c: Likewise. * tst-rwlock4.c: Likewise. * tst-rwlock6.c: Likewise. * tst-rwlock7.c: Likewise. * tst-sem3.c: Likewise. * tst-spin2.c: Likewise. * tst-umask1.c: Likewise.
* Whitespace fix.Jakub Jelinek2003-04-071-1/+1
|
* Test for pthread_detach of terminated thread.Ulrich Drepper2003-04-071-0/+55
|
* Update.Ulrich Drepper2003-04-072-1/+5
| | | | | | 2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
* Update.Ulrich Drepper2003-04-062-32/+37
| | | | | | 2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
* Update.Ulrich Drepper2003-04-053-7/+63
| | | | | | | | 2003-04-05 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If HAVE_register_atfork_malloc is defined use __register_atfork_malloc instead of __register_atfork.
* Update.Ulrich Drepper2003-04-0510-56/+188
| | | | | | | | | | | | | | | | | | | | | | | | 2003-04-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Add some more comments explaining when to set multiple_threads and when not. * pthreadP.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined. * sysdeps/i386/tls.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET: * sysdeps/x86_64/tls.h: Likewise. * cleanup_defer.c (_pthread_cleanup_push_defer): Rewrite to use THREAD_ATOMIC_CMPXCHG_VAL. (_pthread_cleanup_pop_restore): Likewise. * cancellation.c (__pthread_enable_asynccancel): Likewise. (__pthread_enable_asynccancel_2): Likewise. (__pthread_disable_asynccancel): Likewise. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. (__libc_disable_asynccancel): Likewise. * init.c (sigcancel_handler): Likewise. * pthread_setcancelstate.c (__pthread_setcancelstate): Likewise. * pthread_setcanceltype.c (__pthread_setcanceltype): Likewise.
* Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already ↵Ulrich Drepper2003-04-051-1/+13
| | | | defined.
* Update.Ulrich Drepper2003-04-046-4/+137
| | | | | | | | | | 2003-04-03 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Don't set EXITING_BIT here. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. * pthreadP.h (__do_cancel): Set EXITING_BIT here. * Makefile (tests): Add tst-cancel11. * tst-cancel11.c: New file.
* (sigcancel_handler): Don't set EXITING_BIT here.Ulrich Drepper2003-04-041-8/+2
|
* Update.Ulrich Drepper2003-04-022-2/+1
|
* Undo last change.Ulrich Drepper2003-04-021-4/+0
|
* Update.Ulrich Drepper2003-04-021-1/+2
| | | | | * Makefile (tests): Add tst-tsd3.c and tst-tsd4. * tst-tsd4.c: New file.
* Check PTHREAD_DESTRUCTOR_ITERATIONS handling.Ulrich Drepper2003-04-021-0/+103
|
* (tests): Add tst-tsd4.Ulrich Drepper2003-04-021-1/+1
|
* Update.Ulrich Drepper2003-04-025-57/+213
| | | | | | | | | | | | | | 2003-04-01 Ulrich Drepper <drepper@redhat.com> * pthread_create.c (deallocate_tsd): Clear/free memory after the last round, not the first. Use specific_used flag instead of local found_nonzero variable. Use THREAD_[SG]ETMEM where possible. (__free_tcb): Don't call deallocate_tsd here. (start_thread): Call deallocate_tsd here. * pthread_setspecific.c: Set specific_used flag really only when needed. * Makefile (tests): Add tst-tsd3.c * tst-tsd3.c: New file.
* (do_test): Make static.Ulrich Drepper2003-04-021-1/+1
|
* Update.Ulrich Drepper2003-04-019-9/+123
| | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_lock): Use atomic_exchange_and_add instead of __lll_add. (__lll_mutex_timedlock): Likewise. Patch by Ian Wienand. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (SINGLE_THREAD_P): Fix typo. * tst-cancel-wrappers.sh: Handle '.'ed symbols. 2003-03-31 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-align. * tst-align.c: New file. * sysdeps/i386/Makefile: Define CFLAGS-tst-align. * sysdeps/x86_64/Makefile: Likewise. * tst-tsd2.c: Add casts to avoid warnings.
* Update.Ulrich Drepper2003-04-011-0/+5
| | | | | | | 2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called function correctly.
* (CALL_THREAD_FCT): Align stack of called function correctly.Ulrich Drepper2003-04-011-3/+2
|
* Fix comment.Ulrich Drepper2003-03-312-3/+3
|
* Fix comment.Ulrich Drepper2003-03-311-2/+2
|
* Update.Ulrich Drepper2003-03-301-0/+4
| | | | | | 2003-03-30 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move most often used elements to the front.
* (struct pthread): Move most often used elements to the front.Ulrich Drepper2003-03-301-9/+11
|
* Update.Ulrich Drepper2003-03-291-0/+5
| | | | | | | 2003-03-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Avoid netlink_open calls if netlink is known to not be available.
* (libpthread-routines): Add pthread_atfork. ↵Ulrich Drepper2003-03-291-1/+2
| | | | (libpthread-static-only-routines): Add pthread_atfork.
* Update.Ulrich Drepper2003-03-2915-110/+315
| | | | | | | | | | | | | | | | | | | | | | | | | | 2003-03-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/bits/atomic.h (__arch_compare_and_exchange_val_8_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_8_acq): ... this. (__arch_compare_and_exchange_val_16_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_16_acq): ... this. (__arch_compare_and_exchange_val_32_acq): Return old value. Make asm output reg constraint earlyclobber. Renamed from... (__arch_compare_and_exchange_32_acq): ... this. (__arch_compare_and_exchange_val_64_acq): Renamed from... (__arch_compare_and_exchange_64_acq): ... this. (atomic_exchange_and_add): Use local variables and __arch_compare_and_exchange_val_64_acq. (atomic_add): Likewise. (atomic_add_negative, atomic_add_zero): Use local variables. * Makefile: Remove libmd5crypt goal.
* Include nptl/descr.h after the definition of TLS_DTV_AT_TP. (INSTALL_DTV): ↵Ulrich Drepper2003-03-291-8/+7
| | | | Add parens. (THREAD_GETMEM, THREAD_GETMEM_NC, THREAD_SETMEM, THREAD_SETMEM_NC): Use passed descr instead of THREAD_SELF.
* Bump to 0.32.Ulrich Drepper2003-03-281-1/+1
|
* Update.Ulrich Drepper2003-03-284-61/+85
| | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-posix-timers.h: Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field. * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Remove debugging code. Create only one helper thread. * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Don't kill helper thread. * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread): Renamed. Define statically. Use thread info from siginfo. (__helper_once): New variable. (__helper_tid): New variable. (__reset_helper_control): New function. (__start_helper_thread): New function.
* Don't declare __timer_helper_thread. Declare __start_helper_thread, ↵Ulrich Drepper2003-03-281-11/+9
| | | | __helper_once, and __helper_tid. (struct timer): Remove th and bar field.
* Bump to 0.31.Ulrich Drepper2003-03-271-1/+1
|
* Update.Ulrich Drepper2003-03-273-3/+7
| | | | | * pthread_create.c (start_thread): Don't use setjmp inside __builtin_expect to work around gcc bug.
* Update.Ulrich Drepper2003-03-272-1/+3
| | | | | | | | | 2003-03-27 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/getcontext.S: Restore caller's ar.unat before returning. Add missing .mem.offset directives to ensure file gets assembled without warnings. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* Update.Ulrich Drepper2003-03-274-9/+21
| | | | | | | | | | | 2003-03-27 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Even if timer_delete syscall fails, but not with ENOSYS, set __no_posix_timers. * sysdeps/unix/sysv/linux/timer_settime.c [!__ASSUME_POSIX_TIMERS] (timer_settime): Fix typo.