about summary refs log tree commit diff
path: root/nptl
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-02-224-1/+14
| | | | * iconv/iconv_prog.c (main): Unify messages.
* * pthread_create.c (start_thread): Call __libc_thread_freeres.Roland McGrath2003-02-221-0/+4
|
* 2003-02-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-221-1/+3
| | | | * pthread_create.c (start_thread): Call __libc_thread_freeres.
* Update.Ulrich Drepper2003-02-223-0/+83
| | | | | | | * Makefile (tests): Add tst-eintr1. (distribute): Add eintr.c. * tst-eintr1.c: New file. * eintr.c: New file.
* Test for pthread_create and pthread_koin not returning EINTR.Ulrich Drepper2003-02-221-0/+97
|
* Update.Ulrich Drepper2003-02-221-1/+2
| | | | * sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.
* Update.Ulrich Drepper2003-02-222-1/+142
| | | | | | | | | | 2003-02-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do not chechk for errors (unless testing for 32bit variant). * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise. * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise. * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
* Update.Ulrich Drepper2003-02-214-2/+72
| | | | | | | | | | | | | | | * 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-216-1/+403
| | | | | | | 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-2110-36/+85
| | | | | | | | | | | | | | * 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>.
* Include <signal.h>.Ulrich Drepper2003-02-211-0/+1
|
* 2003-02-21 Roland McGrath <roland@redhat.com>Roland McGrath2003-02-211-0/+1
| | | | * Makefile (install-lib-ldscripts): New variable.
* Update.Ulrich Drepper2003-02-212-1/+7
| | | | | | | | 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.
* (pthread_join): Limited checking for invalid descriptors.Ulrich Drepper2003-02-211-1/+1
|
* Update.Ulrich Drepper2003-02-203-3/+6
| | | | | * 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-205-5/+129
| | | | | | | | | 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-184-3/+81
| | | | | | | 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-182-1/+6
| | | | | * pthread_create.c (deallocate_tsd): Mark as internal_function. Add some more __builtin_expect.
* Update.Ulrich Drepper2003-02-184-3/+144
| | | | | | 2003-02-18 Ulrich Drepper <drepper@redhat.com> * pthreadP.h: Define dummy versio of DEBUGGING_P.
* Update.Ulrich Drepper2003-02-183-10/+10
| | | | | | | | | | | * 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-181-1/+5
| | | | | | | | | 2003-02-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sysconf.c (__sysconf): Test for LOGIN_NAME_MAX and TTY_NAME_MAX and not the _POSIX_* minimal value macros. * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX and LOGIN_NAME_MAX.
* Update.Ulrich Drepper2003-02-173-1/+115
| | | | | * Makefile (tests): Add tst-signal5. * tst-signal5.c: New file.
* Update.Ulrich Drepper2003-02-172-1/+10
| | | | | * sysdeps/unix/sysv/linux/bits/local_lim.h: Define TTY_NAME_MAX and LOGIN_NAME_MAX.
* Update.Ulrich Drepper2003-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | 2003-02-17 Franz Sirl <Franz.Sirl-kernel@lauterbach.com> * sysdeps/unix/sysv/linux/powerpc/ftruncate64.c: Delete. * sysdeps/unix/sysv/linux/powerpc/truncate64.c: Delete. * sysdeps/unix/sysv/linux/powerpc/pread64.c: Delete. * sysdeps/unix/sysv/linux/powerpc/pread.c: Delete. * sysdeps/unix/sysv/linux/powerpc/pwrite64.c: Delete. * sysdeps/unix/sysv/linux/powerpc/pwrite.c: Delete. * sysdeps/unix/sysv/linux/powerpc/fe_nomask.c: Move file... * sysdeps/unix/sysv/linux/powerpc/powerpc32/fe_nomask.c: ...here. * sysdeps/unix/sysv/linux/powerpc/glob64.c: Move file... * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: ...here. * sysdeps/unix/sysv/linux/tcgetattr.c: Use INLINE_SYSCALL. * sysdeps/unix/sysv/linux/tcsetattr.c: Likewise. * sysdeps/unix/sysv/linux/powerpc/tcgetattr.c: Delete. * sysdeps/unix/sysv/linux/powerpc/tcsetattr.c: Delete.
* Update.Ulrich Drepper2003-02-172-3/+16
| | | | * tst-cancel1.c (tf): Block all signals.
* Update.Ulrich Drepper2003-02-176-7/+200
| | | | | | | | | | | | | | | | | | 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-172-0/+123
| | | | | * tst-attr1.c (do_test): Add tests for pthread_setcanceltype, pthread_setcancelstate, and pthread_rwlock_setpshared.
* Update.Ulrich Drepper2003-02-162-2/+7
| | | | | | | * 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-1610-10/+142
| | | | | | | | | | | | | | | * 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-164-13/+158
| | | | | | | | | | | 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.
* (pthread_cancel): Use the result of __pthread_kill.Ulrich Drepper2003-02-161-2/+3
|
* To-Do list for testing.Ulrich Drepper2003-02-151-0/+20
|
* Update.Ulrich Drepper2003-02-153-4/+44
| | | | * tst-mutex5.c (do_test): Add more timedlock tests.
* Update.Ulrich Drepper2003-02-153-19/+231
| | | | * tst-mutex2.c: Tests of trylock and unlock with ERROR mutexes.
* Update.Ulrich Drepper2003-02-152-2/+51
| | | | * tst-mutex3.c (do_test): Add tests for trylock with RECURSIVE mutexes.
* Update.Ulrich Drepper2003-02-152-2/+10
| | | | | * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Don't use INLINE_SYSCALL. Error number is returned, not -1.
* Update.Ulrich Drepper2003-02-157-8/+26
| | | | | | | | | | | | | | * 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-153-1/+55
| | | | | * Makefile (tests): Add tst-clock1. * tst-clock1.c: New file.
* Update.Ulrich Drepper2003-02-154-3/+88
| | | | | | | | | | | 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-153-1/+105
| | | | | * math/libm-test.inc (nextafter_test): New test, but disabled due to gcc bug.
* Update.Ulrich Drepper2003-02-149-21/+128
| | | | | | | 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-148-18/+179
| | | | | | | | | | | | * 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-144-2/+154
| | | | | | | | | | | 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-145-6/+25
| | | | | | | 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-147-33/+533
| | | | | | | | | * 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-144-16/+43
| | | | | | | * 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-135-5/+370
| | | | | | | 2003-02-13 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-cleanup3. * tst-cleanup3.c: New file.
* Update.Ulrich Drepper2003-02-134-1/+214
| | | | | | * Makefile (tests): Add tst-attr1 and tst-attr2. * tst-attr1.c: New file. * tst-attr2.c: New file.