am 5d8fd2a0: am a71aefc6: am d041bf20: Merge "bionic/x86: fix one potential deadlock in __set_tls()"
* commit '5d8fd2a0bc059cd07405a372c98617829f8ac378': bionic/x86: fix one potential deadlock in __set_tls()
This commit is contained in:
commit
7dbbfac0fc
@ -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