about summary refs log tree commit diff
path: root/nptl/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* Update.Ulrich Drepper2003-02-211-1/+12
| | | | | | | | | | | | | | | * pthread_cancel.c (pthread_cancel): Use tkill directly. * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Disallow sending SIGCANCEL. tst-kill3, tst-kill4, tst-kill5. * tst-kill1.c: New file. * tst-kill2.c: New file. * tst-kill3.c: New file. * tst-kill5.c: New file. * tst-basic7.c: Renamed to... * tst-kill4.c: ...this.
* Update.Ulrich Drepper2003-02-211-0/+5
| | | | | | | 2003-02-21 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Remove tst-basic7. Add tst-kill1, tst-kill2, tst-kill3, tst-kill4.
* * Makerules: Filter $(install-lib-ldscripts) out of list of targetsRoland McGrath2003-02-211-0/+4
| | | | for libfoo.so that need $(make-link) rules.
* Update.Ulrich Drepper2003-02-211-0/+12
| | | | | | | | | | | | | | * pthreadP.h: Define INVALID_TD_P and INVALID_NOT_TERMINATED_TD_P. * pthread_cancel.c: Use INVALID_TD_P. * pthread_detach.c: Likewise. * pthread_getschedparam.c: Likewise. * pthread_setschedparam.c: Likewise. * sysdeps/pthread/pthread_getcpuclockid.c: Likewise. * sysdeps/unix/sysv/linux/pthread_kill.c: Likewise. * pthread_join.c: Use INVALID_NOT_TERMINATED_TD_P. * pthread_timedjoin.c: Likewise. * tst-basic7.c: Include <signal.h>.
* Update.Ulrich Drepper2003-02-211-0/+6
| | | | | | | | 2003-02-21 Ulrich Drepper <drepper@redhat.com> * pthread_join.c (pthread_join): Limited checking for invalid descriptors. * pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
* Update.Ulrich Drepper2003-02-201-2/+2
| | | | | * pthread_create.c (deallocate_tsd): Reset found_nonzero at the beginning of the loop. Clear the entire first block of TSD.
* Update.Ulrich Drepper2003-02-201-1/+1
| | | | * pthreadP.h: Define dummy version of DEBUGGING_P.
* Update.Ulrich Drepper2003-02-201-0/+7
| | | | | | | | | 2003-02-20 Ulrich Drepper <drepper@redhat.com> * pthread_create.c (deallocate_tsd): Clear the entire first block of TSD. * Makefile (tests): Add tst-key4. * tst-key4.c: New file.
* Update.Ulrich Drepper2003-02-181-0/+3
| | | | | | | 2003-02-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Recognize invalid file descriptors and missing access permissions.
* Update.Ulrich Drepper2003-02-181-0/+3
| | | | | * pthread_create.c (deallocate_tsd): Mark as internal_function. Add some more __builtin_expect.
* Update.Ulrich Drepper2003-02-181-0/+4
| | | | | | 2003-02-18 Ulrich Drepper <drepper@redhat.com> * pthreadP.h: Define dummy versio of DEBUGGING_P.
* Update.Ulrich Drepper2003-02-181-0/+9
| | | | | | | | | | | * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remnove _POSIX_THREAD_PRIORITY_SCHEDULING. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Remove _XOPEN_REALTIME_THREADS. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): The kernel returns EINVAL for PID <= 0, work around it.
* Update.Ulrich Drepper2003-02-171-0/+3
| | | | | * Makefile (tests): Add tst-signal5. * tst-signal5.c: New file.
* Update.Ulrich Drepper2003-02-171-0/+3
| | | | | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX and LOGIN_NAME_MAX.
* Update.Ulrich Drepper2003-02-171-0/+2
| | | | * tst-cancel1.c (tf): Block all signals.
* Update.Ulrich Drepper2003-02-171-0/+16
| | | | | | | | | | | | | | | | | | 2003-02-17 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-basic6. * tst-basic6.c: New file. * tst-basic1.c: Add test for process ID. * Makefile (tests): Add tst-cancel10. * tst-cancel10.c: New file. * Makefile (tests): Add tst-signal4. * tst-signal4.c: New file. * sysdeps/pthread/pthread_sigmask.c (pthread_sigmask): Use __sigismember instead of sigismember. Add __builtin_expect.
* Update.Ulrich Drepper2003-02-171-0/+3
| | | | | * tst-attr1.c (do_test): Add tests for pthread_setcanceltype, pthread_setcancelstate, and pthread_rwlock_setpshared.
* Update.Ulrich Drepper2003-02-161-1/+4
| | | | | | | * tst-cancel7.c (do_test): Make sure the pid file exists before canceling the thread. * libc-cancellation.c (__libc_enable_asynccancel): Rewrite to avoid
* Update.Ulrich Drepper2003-02-161-0/+13
| | | | | | | | | | | | | | | * tst-rwlock6.c: More pthread_rwlock_timedwrlock and pthread_rwlock_timedrdlock tests. * tst-rwlock7.c: More pthread_rwlock_timedwrlock tests. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Check for invalid tv_nsec field. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * pthread_mutex_trylock.c (__pthread_mutex_trylock): Protect recursive mutex of overflow. * tst-attr1.c (do_test): Add test for pthread_mutexattr_setpshared.
* Update.Ulrich Drepper2003-02-161-0/+9
| | | | | | | | | | | 2003-02-16 Ulrich Drepper <drepper@redhat.com> * libc-cancellation.c (__libc_enable_asynccancel): Rwrite to avoid going into an endless loop. * Makefile (tests): Add tst-cancel9. * tst-cancel9.c: New file. * pthread_cancel.c (pthread_cancel): Use the result of __pthread_kill.
* Update.Ulrich Drepper2003-02-151-0/+2
| | | | * tst-mutex5.c (do_test): Add more timedlock tests.
* Update.Ulrich Drepper2003-02-151-0/+1
| | | | * tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes.
* Update.Ulrich Drepper2003-02-151-0/+2
| | | | * tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes.
* Update.Ulrich Drepper2003-02-151-0/+3
| | | | | * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't use INLINE_SYSCALL. Error number is returned, not -1.
* Update.Ulrich Drepper2003-02-151-0/+12
| | | | | | | | | | | | | | * pthreadP.h: Mark declarations of __find_in_stack_list, __free_tcb, and __deallocate_stack with internal_function. * pthread_create.c: Adjust definitions appropriately. * allocatestack.c: Likewise. * pthread_join.c: Add one more __builtin_expect. * pthread_timedjoin.c: Likewise. * pthread_getspecific.c (__pthread_getspecific): Clear data->data not data of sequence number does not match. Add one __builtin_expect.
* Update.Ulrich Drepper2003-02-151-0/+3
| | | | | * Makefile (tests): Add tst-clock1. * tst-clock1.c: New file.
* Update.Ulrich Drepper2003-02-151-1/+8
| | | | | | | | | | | 2003-02-15 Ulrich Drepper <drepper@redhat.com> * pthread_setconcurrency.c (pthread_setconcurrency): Fail for negative arguments. * Makefile (tests): Add tst-basic5. * tst-basic5.c: New file. after thread is done. If then zero, call exit(0).
* Update.Ulrich Drepper2003-02-151-0/+3
| | | | | * math/libm-test.inc (nextafter_test): New test, but disabled due to gcc bug.
* Update.Ulrich Drepper2003-02-141-0/+14
| | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c [HAVE_PTR_NTHREADS]: Decrement thread counter and only call __exit_thread if this is not the last thread.
* Update.Ulrich Drepper2003-02-141-0/+10
| | | | | | | | | | | | * descr.h: Define CANCELING_BIT and CANCELING_BITMASK. Introduce after CANCELTYPE_BIT, move the other bits up. Update CANCEL_RESTMASK. * init.c (sigcancel_handler): Also set CANCELING_BITMASK bit in newval. * pthread_cancel.c (pthread_cancel): Likewise. Also set CANCELING_BIT if asynchronous canceling is enabled. * pthread_join.c (pthread_join): When recognizing circular joins, take into account the other thread might be already canceled. * Makefile (tests): Add tst-join5. * tst-join5.c: New file.
* Update.Ulrich Drepper2003-02-141-0/+9
| | | | | | | | | | | 2003-02-14 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-join4. * tst-join4.c: New file. 2003-02-13 Ulrich Drepper <drepper@redhat.com> * tst-cond4.c (main): Add test of pthread_attr_getpshared.
* Update.Ulrich Drepper2003-02-141-0/+11
| | | | | | | 2003-02-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of subtracting map->l_tls_offset.
* Update.Ulrich Drepper2003-02-141-0/+7
| | | | | | | | | * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Fix handling of cancellation and failung pthread_mutex_unlock call. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * Makefile (tests): Add tst-cond8 and tst-cond9. * tst-cond8.c: New file. * tst-cond9.c: New file.
* Update.Ulrich Drepper2003-02-141-0/+5
| | | | | | | * tst-cond7.c (do_test): Unlock the mutex before canceling the thread. * sysdeps/pthread/pthread.h: Add missing initializers. Protect non-standard initializers with __USE_GNU.
* Update.Ulrich Drepper2003-02-131-0/+5
| | | | | | | 2003-02-13 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-cleanup3. * tst-cleanup3.c: New file.
* Update.Ulrich Drepper2003-02-131-0/+4
| | | | | | * Makefile (tests): Add tst-attr1 and tst-attr2. * tst-attr1.c: New file. * tst-attr2.c: New file.
* Update.Ulrich Drepper2003-02-131-0/+16
| | | | | | | | | | | | | | | | | | * Makefile: Add rules to build and run tst-atfork2 test. * tst-atfork2.c: New file. * tst-atfork2mod.c: New file. * sysdeps/unix/sysv/linux/unregister-atfork.c (__unregister_atfork): Free the memory allocated for the handlers after removing them from the lists. * sysdeps/unix/sysv/linux/register-atfork.c: Define memeory cleanup function. * tst-atfork1.c (do_test): Wait for the child we forked. Report error in child. * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Fix comment.
* Update.Ulrich Drepper2003-02-121-0/+4
| | | | | | | | | * sysdeps/generic/bits/confname.h: Define _CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION. * posix/conststr.c: Handle these new values. * posix/getconf.c: Likewise. * io/ftw.c (ftw_startup): When using FTW_CHDIR, always remember
* Update.Ulrich Drepper2003-02-111-0/+3
| | | | | * Makefile (tests): Add tst-cancel8. * tst-cancel8.c: New file.
* Update.Ulrich Drepper2003-02-101-1/+2
| | | | | * Makefile (tests): Add tst-once3 and tst-once4. * tst-once4.c: New file.
* Update.Ulrich Drepper2003-02-101-0/+7
| | | | | | | | | 2003-02-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/pthread_once.S (clear_once_control): Fix clearing of control variable. * Makefile (tests): Add tst-once3. * tst-once3.c: New file.
* Update.Ulrich Drepper2003-02-101-0/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2003-02-08 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/Makefile: New file. * sysdeps/sh/bits/atomic.h: New file. * sysdeps/sh/pthread_spin_init.c: New file. * sysdeps/sh/pthread_spin_lock.c: New file. * sysdeps/sh/pthread_spin_trylock.S: New file. * sysdeps/sh/pthread_spin_unlock.S: New file. * sysdeps/sh/pthreaddef.h: New file. * sysdeps/sh/tcb-offsets.sym: New file. * sysdeps/sh/td_ta_map_lwp2thr.c: New file. * sysdeps/sh/tls.h: New file. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: New file. * sysdeps/unix/sysv/linux/sh/bits/semaphore.h: New file. * sysdeps/unix/sysv/linux/sh/createthread.c: New file. * sysdeps/unix/sysv/linux/sh/fork.c: New file. * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: New file. * sysdeps/unix/sysv/linux/sh/libc-lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevelcond.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevellock.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/sh/lowlevelmutex.S: New file. * sysdeps/unix/sysv/linux/sh/lowlevelrwlock.h: New file. * sysdeps/unix/sysv/linux/sh/pt-initfini.c: New file. * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_once.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: New file. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: New file. * sysdeps/unix/sysv/linux/sh/sem_post.S: New file. * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: New file. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: New file. * sysdeps/unix/sysv/linux/sh/sem_wait.S: New file. * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: New file.
* Update.Ulrich Drepper2003-02-081-0/+7
| | | | | | | | | 2003-02-08 Ulrich Drepper <drepper@redhat.com> * tst-cond2.c: Rearrange code to not rely on behavior undefined according to POSIX. * tst-basic2.c (do_test): Lock mutex before creating the thread.
* Update.Ulrich Drepper2003-02-071-0/+5
| | | | | | | * sysdeps/x86_64/tls.h: Remove unnecessary macros, left over from x86. (TLS_GET_FS): New #define. (TLS_SET_FS): New #define. Correct value of __NR_set_thread_area.
* Update.Ulrich Drepper2003-02-071-0/+4
| | | | | | 2003-02-07 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/td_ta_map_lwp2thr.c: New file.
* Update.Ulrich Drepper2003-02-071-0/+3
| | | | | | | | | | | | | | | | 2003-02-07 Jakub Jelinek <jakub@redhat.com> * tst-popen2.c: New test. * Makefile (tests): Add tst-popen2. * sysdeps/unix/sysv/linux/alpha/vfork.S (__vfork): Branch to __fork whenever libpthread.so is loaded. * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/ia64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S (__vfork): Likewise. * sysdeps/unix/sysv/linux/x86_64/vfork.S (__vfork): Likewise.
* Update.Ulrich Drepper2003-02-061-0/+9
| | | | | | | | | | | 2003-02-06 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Remove wrong but inactive generalization. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise. Minor optimization, remove one instruction. * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
* Update.Ulrich Drepper2003-02-051-0/+51
| | | | | | | | 2003-02-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/bits/libc-lock.h (__libc_once): Set control variable for non-libpthread case to the same value the pthread_once function would use.
* Update.Ulrich Drepper2003-02-051-1/+2
| | | | | * atomic.h: Add a couple more default implementations. (atomic_compare_and_exchange_acq): Use
* Update.Ulrich Drepper2003-02-051-1/+4
| | | | | | | * atomic.h (atomic_compare_and_exchange_acq): Use __arch_compare_and_exchange_32_acq in return value definition. It always exists. (atomic_bit_set): Renamed from atomic_set_bit.