This is the mail archive of the
glibc-cvs@sourceware.org
mailing list for the glibc project.
libc/nptl pthread_mutex_trylock.c
- From: drepper at sourceware dot org
- To: glibc-cvs at sourceware dot org
- Date: 11 Aug 2007 18:47:09 -0000
- Subject: libc/nptl pthread_mutex_trylock.c
CVSROOT: /cvs/glibc
Module name: libc
Changes by: drepper@sourceware.org 2007-08-11 18:47:09
Modified files:
nptl : pthread_mutex_trylock.c
Log message:
(__pthread_mutex_trylock): Use
PTHREAD_MUTEX_TYPE (mutex) instead of mutex->__data.__kind
directly, pass PTHREAD_MUTEX_PSHARED (mutex) to lll_unlock.
(pthread_mutex_timedlock): Pass PTHREAD_MUTEX_PSHARED (mutex)
to lll_timedlock, lll_robust_timedlock, lll_unlock and
lll_futex_timed_wait. Use PTHREAD_MUTEX_TYPE (mutex) instead
of mutex->__data.__kind directly.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/libc/nptl/pthread_mutex_trylock.c.diff?cvsroot=glibc&r1=1.16&r2=1.17