* commit 'a71aefc66f6d4bf1302e0ce5c321aff1a2c769d1': bionic/x86: fix one potential deadlock in __set_tls()
This commit is contained in:
commit
5d8fd2a0bc
@ -83,6 +83,7 @@ int __set_tls(void *ptr)
|
|||||||
if (rc != 0)
|
if (rc != 0)
|
||||||
{
|
{
|
||||||
/* could not set thread local area */
|
/* could not set thread local area */
|
||||||
|
pthread_mutex_unlock(&_tls_desc_lock);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user