aboutsummaryrefslogtreecommitdiff
path: root/nptl
AgeCommit message (Collapse)Author
2003-03-03Update.Ulrich Drepper
2003-03-03 Ulrich Drepper <drepper@redhat.com> * include/sched.h (__clone2): Use ... instead of adding all the new parameters.
2003-03-03(pthread_rwlock_timedwrlock): Fix clobber of result variable by ↵Ulrich Drepper
lll_futex_timed_wait call.
2003-03-03Update.Ulrich Drepper
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.
2003-03-03* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.Roland McGrath
* sysdeps/ia64/dl-machine.h: Update decl.
2003-03-032003-03-03 Roland McGrath <roland@redhat.com>Roland McGrath
* forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.
2003-03-03Update.Ulrich Drepper
* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.
2003-03-03(timer_create): Return correct error for CPU clocks.Ulrich Drepper
2003-03-03Update.Ulrich Drepper
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.
2003-03-03Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2003-03-03Update.Ulrich Drepper
2003-03-02 Ulrich Drepper <drepper@redhat.com> * tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset recent kernels.
2003-03-03(tf_sleep): Lower sleep time a bit to not upset recent kernels.Ulrich Drepper
2003-03-02Typo in comment.Ulrich Drepper
2003-03-02Update.Ulrich Drepper
2003-03-01 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cleanup field to the front.
2003-03-02Update.Ulrich Drepper
* 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.
2003-03-02Add CLEANUP and CLEANUP_PREV.Ulrich Drepper
2003-03-01* configure.in: In "running configure fragment for" message,Roland McGrath
omit $srcdir from the name if we prepended it. * configure: Regenerated.
2003-03-01Update.Ulrich Drepper
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.
2003-02-28Update.Ulrich Drepper
2003-02-27Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Release lock before waking up the waiters.
2003-02-27Update.Ulrich Drepper
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.
2003-02-27(do_test): Don't start more than one thread in parallel.Ulrich Drepper
2003-02-27Update.Ulrich Drepper
* tst-rwlock9.c (writer_thread): Correct adding TIMEOUT. (reader_thread): Likewise.
2003-02-27Update.Ulrich Drepper
2003-02-24 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix unwind info.
2003-02-27Update.Ulrich Drepper
Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].
2003-02-27Update.Ulrich Drepper
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):
2003-02-27Update.Ulrich Drepper
* Makefile (tests): Add tst-dlsym1. * tst-dlsym1.c: New file.
2003-02-27Update.Ulrich Drepper
2003-02-26 Ulrich Drepper <drepper@redhat.com> * init.c (__pthread_initialize_minimal_internal): Set GL(dl_error_catch_tsd) to __libc_dl_error_tsd. * Versions (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.
2003-02-27(libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.Ulrich Drepper
2003-02-25(sem_open): Only call __libc_close if file descriptor is valid.Ulrich Drepper
2003-02-25Update.Ulrich Drepper
* sem_open.c (sem_open): Fix handling of O_CREAT without O_EXCL.
2003-02-25Update.Ulrich Drepper
2003-02-24 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES test.
2003-02-25Update.Ulrich Drepper
* tst-rwlock8.c (reader_thread): Remove unused variable.
2003-02-25(reader_thread): Remove unused variable.Ulrich Drepper
2003-02-24Bump to 0.26.Ulrich Drepper
2003-02-24Update.Ulrich Drepper
* Makefile: Add rules to build and run tst-tls3. * tst-tls3.c: New file. * tst-tls3mod.c: New file.
2003-02-24Update.Ulrich Drepper
* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_unlock.c: Likewise. * sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.
2003-02-24Update.Ulrich Drepper
2003-02-24 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-rwlock8 and tst-rwlock9. * tst-rwlock8.c: New file. * tst-rwlock9.c: New file. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix complete broken rwlock implementation. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
2003-02-24Stress test of timed rwlock functions.Ulrich Drepper
2003-02-24* Makefile (nptl-version): Change regexp so case sensitivity is ok.Roland McGrath
2003-02-242003-02-23 Roland McGrath <roland@redhat.com>Roland McGrath
* Makefile (nptl-version): Change regexp so case sensitivity is ok.
2003-02-24Update.Ulrich Drepper
* Makefile (tests): Add tst-context1. * tst-context1.c: New file.
2003-02-24Test *context functions in threads.Ulrich Drepper
2003-02-24Update.Ulrich Drepper
* Makefile (tests): Add tst-tls1 and tst-tls2. * tst-tls1.c: New file. * tst-tls2.c: New file.
2003-02-24Update.Ulrich Drepper
* sysdeps/generic/bits/confname.h: Remove #ifs.
2003-02-23Update.Ulrich Drepper
* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition. * posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.
2003-02-23Update.Ulrich Drepper
2003-02-23 Ulrich Drepper <drepper@redhat.com> * resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock element to -1.
2003-02-23Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave off 3 more bytes by using offset-less instructions when possible.
2003-02-22Update.Ulrich Drepper
* catgets/Makefile: Add rules to run test2.msg test. * catgets/test2.msg: New file.
2003-02-22Add dependency for $(objpfx)version.d.Ulrich Drepper
2003-02-22Update.Ulrich Drepper
* iconv/iconv_prog.c (main): Unify messages.