glibc/nptl/sysdeps/unix/sysv/linux/x86_64
Ulrich Drepper 6162364368 Update.
2003-06-22  Ulrich Drepper  <drepper@redhat.com>

	* pthreadP.h (__pthread_mutex_init_internal): Mark hidden.
	(__pthread_mutex_lock_internal): Likewise.
	(__pthread_mutex_unlock_internal): Likewise.
	(__pthread_mutex_unlock_usercnt): Declare.
	* pthread_mutex_destroy.c: Always fail if used in any way.
	* pthread_mutex_init.c: Update comment.
	* pthread_mutex_lock.c: If NO_INCR is not defined adjust __nusers.
	* pthread_mutex_timedlock.c: Adjust __nusers.
	* pthread_mutex_trylock.c: Adjust __nusers.
	* pthread_mutex_unlock.c: Old code is in __pthread_mutex_unlock_usercnt
	and public interfaces are wrapper with pass additional parameter.
	__pthread_mutex_unlock_usercnt does not adjust __nusers if second
	parameter zero.
	* tst-mutex8.c: New file.
	* Makefile (tests): Add tst-mutex8.
	* sysdeps/pthread/pthread_cond_timedwait.c: Call
	__pthread_mutex_unlock_usercnt.
	* sysdeps/pthread/pthread_cond_wait.c: Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
	* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
	* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Define NO_INCR.
	* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
	Add __nusers.
	* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.

	* pthread_mutex_lock.c: Don't store THREAD_ID in __owner, use TID.
	* pthread_mutex_timedlock.c: Likewise.
	* pthread_mutex_trylock.c: Adjust __nusers.
	* pthread_mutex_unlock.c: Compare with TID not THREAD_ID.
	* tst-mutex9.c: New file.
	* Makefile (tests): Add tst-mutex9.
	* sysdeps/i386/tls.h: Remove THREAD_ID definition.
	* sysdeps/ia64/tls.h: Likewise.
	* sysdeps/powerpc/tls.h: Likewise.
	* sysdeps/s390/tls.h: Likewise.
	* sysdeps/sh/tls.h: Likewise.
	* sysdeps/x86_64/tls.h: Likewise.
	* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_mutex_t):
	Change type of __owner.
	* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Likewise.
	* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
2003-06-22 23:55:27 +00:00
..
bits Update. 2003-06-22 23:55:27 +00:00
compat-timer.h Update. 2003-03-25 20:41:26 +00:00
fork.c Update. 2003-03-10 07:39:55 +00:00
libc-lowlevellock.S Update. 2003-03-11 22:02:29 +00:00
libc-lowlevelmutex.S Update. 2003-03-11 22:02:29 +00:00
lowlevellock.h Update. 2003-06-18 00:00:50 +00:00
lowlevellock.S (__lll_lock_wait): Remove jump prediction suffix. 2003-03-17 01:53:39 +00:00
lowlevelmutex.S (__lll_mutex_lock_wait): Replace one memory operation with one register operation. 2003-05-30 17:49:37 +00:00
Makefile Update. 2003-05-09 07:53:33 +00:00
pt-vfork.S Update. 2002-11-28 10:08:49 +00:00
pthread_barrier_wait.S Update. 2003-03-15 07:54:39 +00:00
pthread_cond_broadcast.S Fix typo in register name. 2003-05-27 04:19:58 +00:00
pthread_cond_signal.S Update. 2003-05-27 04:24:31 +00:00
pthread_cond_timedwait.S Update. 2003-06-22 23:55:27 +00:00
pthread_cond_wait.S Update. 2003-06-22 23:55:27 +00:00
pthread_once.S Use 64-bit loading. 2003-03-15 09:59:21 +00:00
pthread_rwlock_rdlock.S Update. 2003-06-05 19:31:57 +00:00
pthread_rwlock_timedrdlock.S Update. 2003-06-05 19:31:57 +00:00
pthread_rwlock_timedwrlock.S Update. 2003-06-05 19:31:57 +00:00
pthread_rwlock_unlock.S Update. 2003-03-17 10:11:31 +00:00
pthread_rwlock_wrlock.S Update. 2003-06-05 19:31:57 +00:00
pthread_spin_init.c Add __builtin_expect where appropriate. 2003-03-18 00:31:30 +00:00
pthread_spin_unlock.S Add __builtin_expect where appropriate. 2003-03-18 00:31:30 +00:00
sem_post.S Update. 2003-03-13 01:51:12 +00:00
sem_timedwait.S Update. 2003-06-08 05:28:14 +00:00
sem_trywait.S Update. 2003-05-10 20:38:31 +00:00
sem_wait.S Update. 2003-06-08 05:28:14 +00:00
sysdep-cancel.h Update. 2003-06-17 08:58:31 +00:00
timer_create.c Update. 2003-03-25 20:41:26 +00:00
timer_delete.c Update. 2003-03-25 20:41:26 +00:00
timer_getoverr.c Update. 2003-03-25 20:41:26 +00:00
timer_gettime.c Update. 2003-03-25 20:41:26 +00:00
timer_settime.c Update. 2003-03-25 20:41:26 +00:00
Versions Update. 2003-03-25 20:41:26 +00:00