diff options
author | Ulrich Drepper <drepper@redhat.com> | 2008-12-12 18:46:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2008-12-12 18:46:28 +0000 |
commit | 6de79a499109333fe328c28e7ffaab2ded06b3f0 (patch) | |
tree | 0d2bc6d9c35da418a331f10087df4e9781f68442 /nptl/ChangeLog | |
parent | 135460f45c16c6611ec9075f5ea003d58380cdeb (diff) | |
download | glibc-6de79a499109333fe328c28e7ffaab2ded06b3f0.zip glibc-6de79a499109333fe328c28e7ffaab2ded06b3f0.tar.gz glibc-6de79a499109333fe328c28e7ffaab2ded06b3f0.tar.bz2 |
* pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_lock_full. Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_lock_full): New function.
* pthread_mutex_unlock.c: Include assert.h.
(__pthread_mutex_unlock_usercnt): Handle only the
fast path here, for robust/PI/PP mutexes call
__pthread_mutex_unlock_full. Don't use switch, instead use a series
of ifs according to their probability.
(__pthread_mutex_unlock_full): New function.
* sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c
(__pthread_mutex_lock_full): Define.
Diffstat (limited to 'nptl/ChangeLog')
-rw-r--r-- | nptl/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index f5ea65f..79bf2d7 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -1,3 +1,19 @@ +2008-12-09 Jakub Jelinek <jakub@redhat.com> + + * pthread_mutex_lock.c (__pthread_mutex_lock): Handle only the + fast path here, for robust/PI/PP mutexes call + __pthread_mutex_lock_full. Don't use switch, instead use a series + of ifs according to their probability. + (__pthread_mutex_lock_full): New function. + * pthread_mutex_unlock.c: Include assert.h. + (__pthread_mutex_unlock_usercnt): Handle only the + fast path here, for robust/PI/PP mutexes call + __pthread_mutex_unlock_full. Don't use switch, instead use a series + of ifs according to their probability. + (__pthread_mutex_unlock_full): New function. + * sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c + (__pthread_mutex_lock_full): Define. + 2008-12-08 Ulrich Drepper <drepper@redhat.com> * sysdeps/x86_64/tls.h (tcbhead_t): Add fields reserved for TM |