This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-835-gc252ec1


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  c252ec15790cef36898948bed276ca0d810e2ed1 (commit)
      from  febb44a4cb4c83db022e33d5e6ef8f55e43e0687 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c252ec15790cef36898948bed276ca0d810e2ed1

commit c252ec15790cef36898948bed276ca0d810e2ed1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Fri May 11 10:08:57 2012 -0700

    Check __PTHREAD_MUTEX_HAVE_PREV for mutex prev

diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 905a6be..00d5e39 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* pthread_create.c (start_thread): Check __PTHREAD_MUTEX_HAVE_PREV
+	instead of __WORDSIZE.
+
 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
 
 	[BZ #3748]
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 0914885..3c1e479 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -355,7 +355,7 @@ start_thread (void *arg)
 
 #ifndef __ASSUME_SET_ROBUST_LIST
   /* If this thread has any robust mutexes locked, handle them now.  */
-# if __WORDSIZE == 64
+# ifdef __PTHREAD_MUTEX_HAVE_PREV
   void *robust = pd->robust_head.list;
 # else
   __pthread_slist_t *robust = pd->robust_list.__next;

-----------------------------------------------------------------------

Summary of changes:
 nptl/ChangeLog        |    5 +++++
 nptl/pthread_create.c |    2 +-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]