kopensolaris-gnu/glibc.git
16 years agoAdditional makefile for Unix on Alpha.
drepper [Tue, 22 Jun 2004 05:54:44 +0000 (05:54 +0000)]
Additional makefile for Unix on Alpha.

16 years ago.
roland [Sun, 20 Jun 2004 01:43:43 +0000 (01:43 +0000)]
.

16 years agoRemoved, obsolete.
roland [Sun, 20 Jun 2004 01:43:22 +0000 (01:43 +0000)]
Removed, obsolete.

16 years ago2004-06-18 Roland McGrath <roland@frob.com>
roland [Sun, 20 Jun 2004 01:42:54 +0000 (01:42 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

* Makefile (dist, tag-for-dist): New targets.
(files-for-dist, tag-of-stem): New variables.
(glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
Make tar files using cvs export.
(%.bz2, %.gz, tag-%): New pattern rules.
(distribute): Variable removed.
(+subdir_targets): Remove distinfo targets.
(echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
(rpm/%): Pattern rule removed.
* rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
* Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
Targets removed.
* Makerules (dist, subdir_distinfo): Targets removed.
($(objpfx)distinfo): Depend on $(distribute).
* Make-dist: File removed.

16 years ago2004-06-18 Roland McGrath <roland@frob.com>
roland [Sun, 20 Jun 2004 01:42:52 +0000 (01:42 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

* Makerules (compile-mkdep-flags): Add -MT $@.
* Makefile (dist, tag-for-dist): New targets.
(files-for-dist, tag-of-stem): New variables.
(glibc-%.tar glibc-linuxthreads-%.tar): New pattern rule.
Make tar files using cvs export.
(%.bz2, %.gz, tag-%): New pattern rules.
(distribute): Variable removed.
(+subdir_targets): Remove distinfo targets.
(echo_subdirs, echo-distinfo, parent_echo-distinfo): Targets removed.
(rpm/%): Pattern rule removed.
* rpm/Makefile, rpm/rpmrc, rpm/template: Ancient cruft files removed.
* Rules (subdir_echo-headers, subdir_echo-distinfo, subdir_dist):
Targets removed.
* Makerules (dist, subdir_distinfo): Targets removed.
($(objpfx)distinfo): Depend on $(distribute).
* Make-dist: File removed.

16 years agoUpdate.
aj [Sat, 19 Jun 2004 18:12:27 +0000 (18:12 +0000)]
Update.

16 years agoFix assembler in last patch.
aj [Sat, 19 Jun 2004 18:12:20 +0000 (18:12 +0000)]
Fix assembler in last patch.

16 years agoUpdate.
drepper [Sat, 19 Jun 2004 00:01:42 +0000 (00:01 +0000)]
Update.

16 years ago(gaih_inet): For AI_CANONNAME, determine the canonical name only for
drepper [Sat, 19 Jun 2004 00:00:57 +0000 (00:00 +0000)]
(gaih_inet): For AI_CANONNAME, determine the canonical name only for
the first returned entry.

16 years agoUpdate.
drepper [Fri, 18 Jun 2004 16:31:13 +0000 (16:31 +0000)]
Update.

16 years ago(tests): Add bug-if1.
drepper [Fri, 18 Jun 2004 16:30:24 +0000 (16:30 +0000)]
(tests): Add bug-if1.

16 years agoTest for handling of invalid index in if_indextoname.
drepper [Fri, 18 Jun 2004 16:29:55 +0000 (16:29 +0000)]
Test for handling of invalid index in if_indextoname.

16 years agoUpdate.
drepper [Fri, 18 Jun 2004 16:06:38 +0000 (16:06 +0000)]
Update.

16 years agoRemove cruft, finally [BZ #209] is done.
roland [Fri, 18 Jun 2004 07:32:17 +0000 (07:32 +0000)]
Remove cruft, finally [BZ #209] is done.

16 years ago2004-06-18 Roland McGrath <roland@frob.com>
roland [Fri, 18 Jun 2004 07:31:22 +0000 (07:31 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.

16 years agoRemove cruft, still testing [BZ #209].
roland [Fri, 18 Jun 2004 07:29:26 +0000 (07:29 +0000)]
Remove cruft, still testing [BZ #209].

16 years ago2004-06-18 Roland McGrath <roland@frob.com>
roland [Fri, 18 Jun 2004 07:10:16 +0000 (07:10 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

[BZ #209]
* ChangeLog: Another attempt to test the loginfo script.

16 years ago2004-06-18 Roland McGrath <roland@frob.com>
roland [Fri, 18 Jun 2004 07:04:28 +0000 (07:04 +0000)]
2004-06-18  Roland McGrath  <roland@frob.com>

* NEWS: Fix a typo.  Update bug-reporting instructions.
Include in this log entry gratuitous reference to [BZ #209].

16 years agoUpdate.
drepper [Fri, 18 Jun 2004 04:29:42 +0000 (04:29 +0000)]
Update.

16 years ago(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.
drepper [Fri, 18 Jun 2004 04:28:28 +0000 (04:28 +0000)]
(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.

16 years agoAdd rules to build and run tst-cond19.
drepper [Fri, 18 Jun 2004 04:24:11 +0000 (04:24 +0000)]
Add rules to build and run tst-cond19.

16 years agoTest checks for invalid timeout values in pthread_cond_timedwait.
drepper [Fri, 18 Jun 2004 04:23:30 +0000 (04:23 +0000)]
Test checks for invalid timeout values in pthread_cond_timedwait.

16 years ago(__pthread_cond_timedwait): Also check for negativ nanoseconds.
drepper [Fri, 18 Jun 2004 04:22:47 +0000 (04:22 +0000)]
(__pthread_cond_timedwait): Also check for negativ nanoseconds.

16 years ago(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.
drepper [Fri, 18 Jun 2004 04:21:54 +0000 (04:21 +0000)]
(__pthread_cond_timedwait): Check for invalid nanosecond in timeout value.

16 years ago(__sched_setaffinity_new): Set errno to EINVAL and return -1 if cpuset is
drepper [Fri, 18 Jun 2004 02:47:27 +0000 (02:47 +0000)]
(__sched_setaffinity_new): Set errno to EINVAL and return -1 if cpuset is
wrongly set.

16 years agoImprove instruction scheduling for POWER4 machines.
drepper [Fri, 18 Jun 2004 02:42:53 +0000 (02:42 +0000)]
Improve instruction scheduling for POWER4 machines.

16 years agoUpdate.
drepper [Fri, 18 Jun 2004 02:40:54 +0000 (02:40 +0000)]
Update.

16 years ago(GUARD_PATTERN): Defined.
drepper [Fri, 18 Jun 2004 02:40:13 +0000 (02:40 +0000)]
(GUARD_PATTERN): Defined.
(tst_context_t): Define struct containing ucontext_t & guard words.
(ctx): Declare as an array of tst_context_t.
(fct): Verify uc_link & guard words are still valid.
(tf): Initialize guard words in ctx.  Adjust ctx refs for new struct.

16 years ago(xdr_pmaplist): When freeing, remember pml_next
drepper [Fri, 18 Jun 2004 02:26:38 +0000 (02:26 +0000)]
(xdr_pmaplist): When freeing, remember pml_next
in a local variable, point rp to that local variable afterwards.

16 years agoUpdate.
drepper [Thu, 17 Jun 2004 23:58:15 +0000 (23:58 +0000)]
Update.

16 years ago(__pthread_cond_timedwait): Increment __futex at the same time as
drepper [Thu, 17 Jun 2004 23:57:30 +0000 (23:57 +0000)]
(__pthread_cond_timedwait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_wait): Increment __futex at the same time as
drepper [Thu, 17 Jun 2004 23:56:48 +0000 (23:56 +0000)]
(__pthread_cond_wait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_signal): Increment __futex at the same time as
drepper [Thu, 17 Jun 2004 23:55:56 +0000 (23:55 +0000)]
(__pthread_cond_signal): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 17 Jun 2004 23:55:20 +0000 (23:55 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(__pthread_cond_broadcast): Set __futex to 2 * __total_seq.
Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE.
Pass __futex value from before the unlock and __futex address instead
of address of low 32-bits of __wakeup_seq to futex syscall.
Fallback to FUTEX_WAKE all on any errors.

16 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
drepper [Thu, 17 Jun 2004 23:54:49 +0000 (23:54 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

16 years ago(__ieee754_sqrt): Handle special cases properly.
drepper [Thu, 17 Jun 2004 23:48:39 +0000 (23:48 +0000)]
(__ieee754_sqrt): Handle special cases properly.

16 years ago(if_indextoname): Correct error value for unknown interface.
drepper [Thu, 17 Jun 2004 23:06:41 +0000 (23:06 +0000)]
(if_indextoname): Correct error value for unknown interface.

16 years ago.
roland [Tue, 15 Jun 2004 20:12:01 +0000 (20:12 +0000)]
.

16 years ago2004-06-13 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 15 Jun 2004 20:11:53 +0000 (20:11 +0000)]
2004-06-13  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/i386/bits/string.h (memcpy): Add () around arguments.
(memchr, __memrchr, strlen, strcmp, strncmp, __strchr_g, __strchr_c,
__strchrnul_g, __strchrnul_c, strspn, strcspn, strpbrk): Add memory
the asm uses as its input, either of size __n where __n is known or
0xfffffff.
(strstr): Add "memory" clobber.

16 years ago.
roland [Tue, 15 Jun 2004 20:10:24 +0000 (20:10 +0000)]
.

16 years ago2004-06-11 Dmitry V. Levin <ldv@altlinux.org>
roland [Tue, 15 Jun 2004 20:10:06 +0000 (20:10 +0000)]
2004-06-11  Dmitry V. Levin  <ldv@altlinux.org>

[BZ #217]
* debug/xtrace.sh: Fix typo in error diagnostics.

16 years ago2004-06-14 Jakub Jelinek <jakub@redhat.com>
roland [Tue, 15 Jun 2004 20:10:03 +0000 (20:10 +0000)]
2004-06-14  Jakub Jelinek  <jakub@redhat.com>

[BZ #219]
* nss/nsswitch.c (free_mem): Don't try to close a library handle
if the handle is invalid.  Patch by David Kimdon <kimdon@esrf.fr>.

16 years ago.
roland [Tue, 15 Jun 2004 20:04:37 +0000 (20:04 +0000)]
.

16 years ago2004-06-14 Andreas Schwab <schwab@suse.de>
roland [Tue, 15 Jun 2004 20:04:30 +0000 (20:04 +0000)]
2004-06-14  Andreas Schwab  <schwab@suse.de>

* stdio-common/psignal.c (psignal): Don't use BUF when asprintf
failed.

16 years ago.
roland [Tue, 15 Jun 2004 20:02:33 +0000 (20:02 +0000)]
.

16 years ago2004-06-15 Steven Munroe <sjmunroe@us.ibm.com>
roland [Tue, 15 Jun 2004 20:02:20 +0000 (20:02 +0000)]
2004-06-15  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix pasto
that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Fix pasto
that clobbers r19.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Fix pasto
that clobbers r19.  Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S:
Fix setting of sigcontext.v_regs.  Fix pasto that clobbers r19.
Fix pasto that overflowed sigcontext.v_reserve.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S:
Fix pasto that clobbers r19.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Fix setting
of sigcontext.v_regs.  Fix pasto that clobbers r19.  Fix pasto that
overflowed sigcontext.v_reserve.

16 years ago.
roland [Tue, 15 Jun 2004 19:55:30 +0000 (19:55 +0000)]
.

16 years ago.
roland [Tue, 15 Jun 2004 19:55:07 +0000 (19:55 +0000)]
.

16 years ago2004-05-04 H.J. Lu <hongjiu.lu@intel.com>
roland [Tue, 15 Jun 2004 19:54:57 +0000 (19:54 +0000)]
2004-05-04  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/generic/strtol_l.c (DEF): Use ".gnu.linkonce.r."
instead of ".gnu.linkonce.ro." as the prefix for linkonce
read-only section name.

16 years ago * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
rth [Mon, 14 Jun 2004 18:04:25 +0000 (18:04 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
        (_ITOFT, _FTOIT, _ITOFT2): Likewise.

16 years ago * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
rth [Mon, 14 Jun 2004 18:04:12 +0000 (18:04 +0000)]
    * sysdeps/alpha/div_libc.h (_ITOFS): Use "sp" not "$sp".
        (_ITOFT, _FTOIT, _ITOFT2): Likewise.

16 years ago.
roland [Fri, 11 Jun 2004 20:12:55 +0000 (20:12 +0000)]
.

16 years ago2004-06-08 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Jun 2004 20:12:46 +0000 (20:12 +0000)]
2004-06-08  Jakub Jelinek  <jakub@redhat.com>

* pthread_mutexattr_getpshared.c (pthread_mutex_getpshared): Fix
comment typo.
* pthread_mutexattr_gettype.c (pthread_mutexattr_gettype): Likewise.
* pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
* pthread_mutexattr_settype.c (__pthread_mutexattr_settype): Likewise.
* pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
Likewise.  Reported by Bob Cook <bobcook47@hotmail.com>.

16 years ago.
roland [Fri, 11 Jun 2004 19:28:32 +0000 (19:28 +0000)]
.

16 years ago2004-06-08 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Jun 2004 19:28:27 +0000 (19:28 +0000)]
2004-06-08  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/s390/s390-32/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.
* sysdeps/s390/s390-64/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.
* sysdeps/ia64/backtrace.c (init): Guard with #ifdef SHARED.
(unwind_backtrace, unwind_getip): Define #ifndef SHARED.
(__backtrace): Don't call init #ifndef SHARED.

16 years ago.
roland [Fri, 11 Jun 2004 10:15:39 +0000 (10:15 +0000)]
.

16 years ago2004-06-11 Roland McGrath <roland@redhat.com>
roland [Fri, 11 Jun 2004 10:15:34 +0000 (10:15 +0000)]
2004-06-11  Roland McGrath  <roland@redhat.com>

* sysdeps/arm/strlen.S [__ARMEB__]: Compute correctly for big-endian.
From Krzysztof Halasa <khc@pm.waw.pl>.

16 years ago.
roland [Fri, 11 Jun 2004 10:12:35 +0000 (10:12 +0000)]
.

16 years ago2004-06-11 Martin Schwidefsky <schwidefsky@de.ibm.com>
roland [Fri, 11 Jun 2004 10:12:23 +0000 (10:12 +0000)]
2004-06-11  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/lowlevellock.h (lll_compare_and_swap):
Add memory clobber to inline assembly.
(__lll_mutex_trylock): Likewise.
(__lll_mutex_cond_trylock): Likewise.

16 years ago.
roland [Fri, 11 Jun 2004 09:56:02 +0000 (09:56 +0000)]
.

16 years ago2004-06-10 Jakub Jelinek <jakub@redhat.com>
roland [Fri, 11 Jun 2004 09:55:50 +0000 (09:55 +0000)]
2004-06-10  Jakub Jelinek  <jakub@redhat.com>

* elf/tls-macros.h [__s390x__] (TLS_LD, TLS_GD): Clobber also r14.

16 years ago.
roland [Thu, 10 Jun 2004 02:16:08 +0000 (02:16 +0000)]
.

16 years ago2004-06-08 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 10 Jun 2004 02:15:47 +0000 (02:15 +0000)]
2004-06-08  Jakub Jelinek  <jakub@redhat.com>

[BZ #199]
* crypt/md5-crypt.c (__md5_crypt): Only update buflen if realloc
succeeds.  Reported by Miles Ohlrich <miles@cray.com>.

16 years ago2004-06-08 Jakub Jelinek <jakub@redhat.com>
roland [Thu, 10 Jun 2004 02:15:39 +0000 (02:15 +0000)]
2004-06-08  Jakub Jelinek  <jakub@redhat.com>

* elf/chroot_canon.c (chroot_canon): Avoid segfault if first malloc
fails.  Avoid memory leak if realloc fails.

16 years ago.
roland [Wed, 9 Jun 2004 18:33:36 +0000 (18:33 +0000)]
.

16 years ago2004-06-09 Jakub Jelinek <jakub@redhat.com>
roland [Wed, 9 Jun 2004 18:33:30 +0000 (18:33 +0000)]
2004-06-09  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/generic/setenv.c (setenv): Return -1/EINVAL if name is
NULL, "" or contains '=' character in it.  Reported by
Michael T Kerrisk <mtk-lists@gmx.net>.
* stdlib/tst-environ.c: Include errno.h.
(main): Add tests for these arguments to setenv/unsetenv.

16 years agoThis is not really associated with [bug #209], but is a test.
roland [Wed, 9 Jun 2004 00:36:30 +0000 (00:36 +0000)]
This is not really associated with [bug #209], but is a test.

16 years ago2004-06-07 Roland McGrath <roland@frob.com>
roland [Mon, 7 Jun 2004 21:53:43 +0000 (21:53 +0000)]
2004-06-07  Roland McGrath  <roland@frob.com>

* NEWS: Update bug reporting instructions.  Fix some typos.
This is not really associated with [BZ #209], but is a test.

16 years agoUpdate.
drepper [Mon, 7 Jun 2004 17:58:44 +0000 (17:58 +0000)]
Update.

16 years ago(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.
drepper [Mon, 7 Jun 2004 17:58:24 +0000 (17:58 +0000)]
(lll_futex_requeue): Pass val argument as 6th system call argument in %r7.

16 years agoAdd email address.
aj [Mon, 7 Jun 2004 06:50:06 +0000 (06:50 +0000)]
Add email address.

16 years agoUpdate.
drepper [Sun, 6 Jun 2004 06:06:02 +0000 (06:06 +0000)]
Update.

16 years agoChange __nscd_open_socket prototype.
drepper [Sun, 6 Jun 2004 06:05:49 +0000 (06:05 +0000)]
Change __nscd_open_socket prototype.

16 years agoChange __nscd_open_socket caller.
drepper [Sun, 6 Jun 2004 06:05:37 +0000 (06:05 +0000)]
Change __nscd_open_socket caller.

16 years ago(__nscd_open_socket): Change implementation to also send request. Add
drepper [Sun, 6 Jun 2004 06:05:23 +0000 (06:05 +0000)]
(__nscd_open_socket): Change implementation to also send request.  Add
parameter to allow this.  Change callers.

16 years agoAdd _itoa implementation.
drepper [Sun, 6 Jun 2004 06:02:14 +0000 (06:02 +0000)]
Add _itoa implementation.

16 years agoDon't expand _itoa inline for libc.
drepper [Sun, 6 Jun 2004 06:01:50 +0000 (06:01 +0000)]
Don't expand _itoa inline for libc.

16 years agoUpdate.
aj [Sat, 5 Jun 2004 07:54:49 +0000 (07:54 +0000)]
Update.

16 years ago(__makecontext): Handle more than 6 args correctly. Based on a patch by
aj [Sat, 5 Jun 2004 07:54:40 +0000 (07:54 +0000)]
(__makecontext): Handle more than 6 args correctly.  Based on a patch by
Masahide Washizawa.

16 years agoUpdate.
drepper [Fri, 4 Jun 2004 18:29:42 +0000 (18:29 +0000)]
Update.

16 years ago(nscd_gethst_r): Use __nss_not_use_nscd_hosts in all places, not
drepper [Fri, 4 Jun 2004 18:29:04 +0000 (18:29 +0000)]
(nscd_gethst_r): Use __nss_not_use_nscd_hosts in all places, not
__nss_not_use_nscd_group.

16 years agoUpdate.
drepper [Thu, 3 Jun 2004 16:04:11 +0000 (16:04 +0000)]
Update.

16 years ago(__pthread_cond_wait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 16:03:39 +0000 (16:03 +0000)]
(__pthread_cond_wait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_timedwait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 16:03:28 +0000 (16:03 +0000)]
(__pthread_cond_timedwait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_signal): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 16:02:51 +0000 (16:02 +0000)]
(__pthread_cond_signal): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 3 Jun 2004 16:02:38 +0000 (16:02 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(__pthread_cond_broadcast): Set __futex to 2 * __total_seq.
Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE.
Pass __futex value from before the unlock and __futex address instead
of address of low 32-bits of __wakeup_seq to futex syscall.
Fallback to FUTEX_WAKE all on any errors.

16 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
drepper [Thu, 3 Jun 2004 16:02:05 +0000 (16:02 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 3 Jun 2004 16:01:37 +0000 (16:01 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally.  Return non-zero if error, zero if success.

16 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
drepper [Thu, 3 Jun 2004 16:00:28 +0000 (16:00 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 3 Jun 2004 16:00:10 +0000 (16:00 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally.  Return non-zero if error, zero if success.

16 years ago(__pthread_cond_wait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 15:59:46 +0000 (15:59 +0000)]
(__pthread_cond_wait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_timedwait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 15:59:37 +0000 (15:59 +0000)]
(__pthread_cond_timedwait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 3 Jun 2004 15:59:13 +0000 (15:59 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(__pthread_cond_broadcast): Set __futex to 2 * __total_seq.
Use FUTEX_CMP_REQUEUE operation instead of FUTEX_REQUEUE.
Pass __futex value from before the unlock and __futex address instead
of address of low 32-bits of __wakeup_seq to futex syscall.
Fallback to FUTEX_WAKE all on any errors.

16 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
drepper [Thu, 3 Jun 2004 15:58:29 +0000 (15:58 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

16 years ago(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.
drepper [Thu, 3 Jun 2004 15:57:42 +0000 (15:57 +0000)]
(pthread_cond_t): Add __data.__futex field, reshuffle __data.__clock.

16 years ago(FUTEX_CMP_REQUEUE): Define.
drepper [Thu, 3 Jun 2004 15:57:25 +0000 (15:57 +0000)]
(FUTEX_CMP_REQUEUE): Define.
(lll_futex_requeue): Add val argument, use FUTEX_CMP_REQUEUE
internally.  Return non-zero if error, zero if success.

16 years ago(cond_futex): Add.
drepper [Thu, 3 Jun 2004 15:56:50 +0000 (15:56 +0000)]
(cond_futex): Add.

16 years ago(__pthread_cond_wait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 15:56:33 +0000 (15:56 +0000)]
(__pthread_cond_wait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_timedwait): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 15:56:25 +0000 (15:56 +0000)]
(__pthread_cond_timedwait): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.
Pass __futex value from before releasing internal lock to FUTEX_WAIT.

16 years ago(__pthread_cond_signal): Increment __futex at the same time as
drepper [Thu, 3 Jun 2004 15:55:50 +0000 (15:55 +0000)]
(__pthread_cond_signal): Increment __futex at the same time as
__wakeup_seq or __total_seq.  Pass address of __futex instead of
address of low 32-bits of __wakeup_seq to futex syscall.