mirror of
git://sourceware.org/git/glibc.git
synced 2024-11-21 01:12:26 +08:00
Check __PTHREAD_MUTEX_HAVE_PREV for mutex prev
This commit is contained in:
parent
febb44a4cb
commit
c252ec1579
@ -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>
|
2012-05-10 Thomas Schwinge <thomas@schwinge.name>
|
||||||
|
|
||||||
[BZ #3748]
|
[BZ #3748]
|
||||||
|
@ -355,7 +355,7 @@ start_thread (void *arg)
|
|||||||
|
|
||||||
#ifndef __ASSUME_SET_ROBUST_LIST
|
#ifndef __ASSUME_SET_ROBUST_LIST
|
||||||
/* If this thread has any robust mutexes locked, handle them now. */
|
/* 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;
|
void *robust = pd->robust_head.list;
|
||||||
# else
|
# else
|
||||||
__pthread_slist_t *robust = pd->robust_list.__next;
|
__pthread_slist_t *robust = pd->robust_list.__next;
|
||||||
|
Loading…
Reference in New Issue
Block a user