diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-07-10 11:21:54 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-07-10 11:21:54 -0700 |
commit | c0c6bac9454ad065bbbe7b73c03181b92db40b3b (patch) | |
tree | 0b61b10ef4b2ddf3d8ed91ef33f849fd4d75ec9e /nptl | |
parent | 887865fcfab05939dabec78f5ad358d0283602d3 (diff) | |
download | glibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.zip glibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.tar.gz glibc-c0c6bac9454ad065bbbe7b73c03181b92db40b3b.tar.bz2 |
Get rid of lll_robust_dead.
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/pthread_create.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c index 2997163..b9af010 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); } |