Merge "bionic/x86: fix one potential deadlock in __set_tls()"
This commit is contained in:
commit
d041bf2095
@ -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…
x
Reference in New Issue
Block a user