1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Check __PTHREAD_MUTEX_HAVE_PREV for mutex prev

This commit is contained in:
H.J. Lu
2012-05-11 10:08:57 -07:00
parent febb44a4cb
commit c252ec1579
2 changed files with 6 additions and 1 deletions

View File

@ -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;