From 4b153ac42428447a148e6da543ebe6df017078db Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 22 Sep 2011 21:08:55 -0400 Subject: fix deadlock in condition wait whenever there are multiple waiters it's amazing none of the conformance tests i've run even bothered to check whether something so basic works... --- src/internal/pthread_impl.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/internal') diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 26164d83..d123e5e3 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -66,6 +66,7 @@ struct __timer { #define _m_count __u.__i[5] #define _c_block __u.__i[0] #define _c_clock __u.__i[1] +#define _c_waiters __u.__i[2] #define _rw_lock __u.__i[0] #define _rw_waiters __u.__i[1] #define _b_inst __u.__p[0] -- cgit v1.2.1