glibc/nptl/sysdeps/unix/sysv/linux
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-03-25 20:41:26 +00:00
i386 Update. 2003-06-22 23:55:27 +00:00
ia64 Update. 2003-06-22 23:55:27 +00:00
powerpc Update. 2003-06-22 23:55:27 +00:00
s390 Update. 2003-06-22 23:55:27 +00:00
sh Update. 2003-06-22 23:55:27 +00:00
x86_64 Update. 2003-06-22 23:55:27 +00:00
allocrtsig.c Update. 2003-04-21 07:39:20 +00:00
configure Initial revision 2002-11-26 22:50:54 +00:00
createthread.c Update. 2003-03-10 06:32:42 +00:00
fork.c Update. 2003-05-09 03:17:42 +00:00
fork.h Update. 2003-06-14 09:00:28 +00:00
Implies Initial revision 2002-11-26 22:50:54 +00:00
internaltypes.h Update. 2003-03-18 11:17:57 +00:00
jmp-unwind.c Update. 2003-03-15 09:51:22 +00:00
kernel-posix-timers.h Don't declare __timer_helper_thread. Declare __start_helper_thread, __helper_once, and __helper_tid. (struct timer): Remove th and bar field. 2003-03-28 06:22:13 +00:00
libc_multiple_threads.c Update. 2003-03-13 01:51:12 +00:00
libc_pthread_init.c Update. 2003-05-09 03:17:42 +00:00
libc-lowlevellock.c 2003-03-17 Roland McGrath <roland@redhat.com> 2003-03-17 11:22:52 +00:00
libc-lowlevelmutex.c 2003-03-17 Roland McGrath <roland@redhat.com> 2003-03-17 11:22:52 +00:00
lowlevelbarrier.sym Update. 2003-03-11 05:26:32 +00:00
lowlevelcond.sym Update. 2003-05-26 02:47:39 +00:00
lowlevellock.c * sysdeps/unix/sysv/linux/lowlevellock.c (__lll_lock_wait, 2003-06-05 08:12:11 +00:00
lowlevelmutex.c PowerPC port contributed by Paul Mackerras <paulus@samba.org>. 2003-03-17 11:25:18 +00:00
lowlevelrwlock.sym Update. 2003-03-10 21:03:03 +00:00
Makefile Update. 2003-05-26 02:47:39 +00:00
pt-fork.c Initial revision 2002-11-26 22:50:54 +00:00
pt-raise.c Initial revision 2002-11-26 22:50:54 +00:00
pthread_getaffinity.c Update. 2003-05-10 05:36:37 +00:00
pthread_kill.c Update. 2003-03-25 20:41:26 +00:00
pthread_mutex_cond_lock.c Update. 2003-06-22 23:55:27 +00:00
pthread_setaffinity.c Update. 2003-05-10 05:36:37 +00:00
pthread_yield.c Initial revision 2002-11-26 22:50:54 +00:00
raise.c Update. 2003-01-09 04:19:03 +00:00
register-atfork.c Update. 2003-06-14 09:00:28 +00:00
sem_post.c Update. 2003-06-19 19:53:12 +00:00
sem_timedwait.c Update. 2003-06-08 05:28:14 +00:00
sem_trywait.c Replace __lll_add calls with atomic_exchange_and_add calls respectively. 2003-03-20 10:28:06 +00:00
sem_wait.c Update. 2003-06-08 05:28:14 +00:00
sigtimedwait.c Update. 2003-06-17 22:11:22 +00:00
sigwait.c Update. 2003-06-17 22:11:22 +00:00
sigwaitinfo.c Update. 2003-06-17 22:11:22 +00:00
sleep.c Update. 2003-06-17 08:44:32 +00:00
timer_create.c Update. 2003-06-15 21:22:26 +00:00
timer_delete.c Update. 2003-06-18 19:34:34 +00:00
timer_getoverr.c Update. 2003-06-18 19:34:34 +00:00
timer_gettime.c Update. 2003-06-18 19:34:34 +00:00
timer_routines.c Update. 2003-04-21 07:39:20 +00:00
timer_settime.c Update. 2003-06-18 19:34:34 +00:00
unregister-atfork.c Update. 2003-05-09 03:17:42 +00:00
Versions Update. 2002-12-28 22:19:04 +00:00