Merge "bionic/x86: fix one potential deadlock in __set_tls()"

This commit is contained in:
Jean-Baptiste Queru
2012-02-23 08:43:29 -08:00
committed by android code review

View File

@@ -83,6 +83,7 @@ int __set_tls(void *ptr)
if (rc != 0)
{
/* could not set thread local area */
pthread_mutex_unlock(&_tls_desc_lock);
return -1;
}