mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
6de79a4991
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. |
||
---|---|---|
.. | ||
i386 | ||
ia64 | ||
powerpc | ||
pthread | ||
s390 | ||
sh | ||
sparc | ||
unix/sysv/linux | ||
x86_64 |