From c0c6bac9454ad065bbbe7b73c03181b92db40b3b Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 10 Jul 2014 11:21:54 -0700 Subject: Get rid of lll_robust_dead. --- nptl/pthread_create.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nptl') diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 2997163733..b9af010767 100644 --- a/nptl/pthread_create.c +++ b/nptl/pthread_create.c @@ -390,7 +390,8 @@ start_thread (void *arg) # endif this->__list.__next = NULL; - lll_robust_dead (this->__lock, /* XYZ */ LLL_SHARED); + atomic_or (&this->__lock, FUTEX_OWNER_DIED); + lll_futex_wake (this->__lock, 1, /* XYZ */ LLL_SHARED); } while (robust != (void *) &pd->robust_head); } -- cgit v1.2.3