This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/nptl pthread_mutex_unlock.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 12 Dec 2008 18:45:41 -0000
- Subject: libc/nptl pthread_mutex_unlock.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2008-12-12 18:45:41
Modified files:
nptl : pthread_mutex_unlock.c
Log message:
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.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nptl/pthread_mutex_unlock.c.diff?cvsroot=glibc&r1=1.19&r2=1.20