about summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2014-07-10 11:21:54 -0700
committerRoland McGrath <roland@hack.frob.com>2014-07-10 11:21:54 -0700
commitc0c6bac9454ad065bbbe7b73c03181b92db40b3b (patch)
tree0b61b10ef4b2ddf3d8ed91ef33f849fd4d75ec9e /nptl
parent887865fcfab05939dabec78f5ad358d0283602d3 (diff)
downloadglibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.tar.gz
glibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.tar.xz
glibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.zip
Get rid of lll_robust_dead.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/pthread_create.c3
1 files changed, 2 insertions, 1 deletions
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);
     }